/*
 * TVIN signal format table
 *
 * Author: Lin Xu <lin.xu@amlogic.com>
 *         Bobby Yang <bo.yang@amlogic.com>
 *
 * Copyright (C) 2010 Amlogic Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */


#include "tvin_global.h"
#include "tvin_format_table.h"

const unsigned char tvin_canvas_tab[2][BT656IN_VF_POOL_SIZE] = {
    {
        VDIN_START_CANVAS,
        VDIN_START_CANVAS + 1,
        VDIN_START_CANVAS + 2,
        VDIN_START_CANVAS + 3,
        VDIN_START_CANVAS + 4,
        VDIN_START_CANVAS + 5,
    },
    {
        VDIN_START_CANVAS + BT656IN_VF_POOL_SIZE,
        VDIN_START_CANVAS + BT656IN_VF_POOL_SIZE + 1,
        VDIN_START_CANVAS + BT656IN_VF_POOL_SIZE + 2,
        VDIN_START_CANVAS + BT656IN_VF_POOL_SIZE + 3,
        VDIN_START_CANVAS + BT656IN_VF_POOL_SIZE + 4,
        VDIN_START_CANVAS + BT656IN_VF_POOL_SIZE + 5,
    }
};


const struct tvin_format_s tvin_fmt_tbl[TVIN_SIG_FMT_MAX + 1] =
{
//   H_Active V_Active H_cnt Hcnt_offset Vcnt_offset Hs_cnt Hscnt_offset H_Total V_Total Hs_Front Hs_Width Hs_bp Vs_Front Vs_Width Vs_bp Hs_Polarity             Vs_Polarity             Scan_Mode                   Pixel_Clk(Khz/10) VBIs VBIe
    {   0,       0,       0,         5,          1,     0,           0,       0,      0,      0,      0,      0,       0,       0,    0,        TVIN_SYNC_POL_NULL,     TVIN_SYNC_POL_NULL,        TVIN_SCAN_MODE_NULL,     0,   0,   0,    0 }, // TVIN_SIG_FMT_NULL_field rate
//VGA
    { 512,     384,    980 ,         5,          1,   49 ,           2,     640,    407,     16,     32,     80,       1,       3,   19,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  1567,   0,   0, 1596 }, // TVIN_SIG_FMT_VGA_512X384P_60D147,
    { 560,     384,    980 ,         5,          1,   67 ,           2,     704,    407,     16,     48,     80,       1,       3,   19,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  1723,   0,   0, 1596 }, // TVIN_SIG_FMT_VGA_560X384P_60D147,
    { 640,     200,    1529,         5,          1,   94 ,           2,     912,    262,     94,     56,    122,      25,       3,   34,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  1432,   0,   0, 1602 }, // TVIN_SIG_FMT_VGA_640X200P_59D924,
    { 640,     350,    634 ,         5,          1,   49 ,           2,     832,    445,     32,     64,     96,      32,       3,   60,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3150,   0,   0, 1128 }, // TVIN_SIG_FMT_VGA_640X350P_85D080,
    { 640,     400,    763 ,         5,          1,   92 ,           2,     800,    525,     16,     96,     48,      50,       2,   73,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2517,   0,   0, 1602 }, // TVIN_SIG_FMT_VGA_640X400P_59D940,
    { 640,     400,    634 ,         5,          1,   49 ,           2,     832,    445,     32,     64,     96,       1,       3,   41,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3150,   0,   0, 1128 }, // TVIN_SIG_FMT_VGA_640X400P_85D080,
    { 640,     400,    792 ,         5,          1,   111,           2,     824,    508,      3,    115,     66,      42,       2,   64,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2496,   0,   0, 1610 }, // TVIN_SIG_FMT_VGA_640X400P_59D638,
    { 640,     400,    967 ,         5,          1,   73 ,           2,     848,    440,     64,     64,     80,       7,       8,   25,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2105,   0,   0, 1702 }, // TVIN_SIG_FMT_VGA_640X400P_56D416,
    { 640,     480,    1525,         5,          1,   113,           2,     780,    525,     18,     58,     64,       4,       3,   16,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1227,   0,   0, 1602 }, // TVIN_SIG_FMT_VGA_640X480I_29D970,
    { 640,     480,    686 ,         5,          1,   49 ,           2,     896,    525,     80,     64,    112,       3,       3,   39,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3134,   0,   0, 1441 }, // TVIN_SIG_FMT_VGA_640X480P_66D619, // 10
    { 640,     480,    686 ,         5,          1,   51 ,           2,     864,    525,     64,     64,     96,       3,       3,   39,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3024,   0,   0, 1440 }, // TVIN_SIG_FMT_VGA_640X480P_66D667,
    { 640,     480,    763 ,         5,          1,   92 ,           2,     800,    525,     16,     96,     48,      10,       2,   33,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2517,   0,   0, 1602 }, // TVIN_SIG_FMT_VGA_640X480P_59D940,
    { 640,     480,    762 ,         5,          1,   91 ,           2,     800,    525,     16,     96,     48,      10,       2,   33,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2520,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_640X480P_60D000,
    { 640,     480,    634 ,         5,          1,   30 ,           2,     832,    520,     24,     40,    128,       9,       3,   28,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3150,   0,   0, 1319 }, // TVIN_SIG_FMT_VGA_640X480P_72D809,
    { 640,     480,    640 ,         5,          1,   49 ,           2,     840,    500,     16,     64,    120,       1,       3,   16,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3150,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_640X480P_75D000_A,
    { 640,     480,    555 ,         5,          1,   37 ,           2,     832,    509,     56,     56,     80,       1,       3,   25,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3600,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_640X480P_85D008,
    { 640,     480,    792 ,         5,          1,   105,           2,     826,    508,      3,    110,     73,       4,       2,   22,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2502,   0,   0, 1610 }, // TVIN_SIG_FMT_VGA_640X480P_59D638,
    { 640,     480,    610 ,         5,          1,   73 ,           2,     800,    525,     16,     96,     48,      11,       2,   32,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3150,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_640X480P_75D000_B,
    { 640,     870,    349 ,         5,          1,   34 ,           2,     832,    918,     32,     80,     80,       3,       3,   42,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5728,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_640X870P_75D000,
    { 720,     350,    763 ,         5,          1,   92 ,           2,     900,    449,     18,    108,     54,      37,       2,   60,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2832,   0,   0, 1370 }, // TVIN_SIG_FMT_VGA_720X350P_70D086, // 20
    { 720,     400,    633 ,         5,          1,   49 ,           2,     936,    446,     36,     72,    108,       1,       3,   42,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3550,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_720X400P_85D039,
    { 720,     400,    763 ,         5,          1,   92 ,           2,     900,    449,     18,    108,     54,      12,       2,   35,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2832,   0,   0, 1370 }, // TVIN_SIG_FMT_VGA_720X400P_70D086,
    { 720,     400,    608 ,         5,          1,   73 ,           2,     900,    449,     18,    108,     54,      21,       2,   26,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3550,   0,   0, 1093 }, // TVIN_SIG_FMT_VGA_720X400P_87D849,
    { 720,     400,    763 ,         5,          1,   92 ,           2,     900,    525,     18,    108,     54,      50,       2,   73,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2832,   0,   0, 1602 }, // TVIN_SIG_FMT_VGA_720X400P_59D940,
    { 720,     480,    763 ,         5,          1,   92 ,           2,     900,    525,     18,    108,     54,      10,       2,   33,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2832,   0,   0, 1602 }, // TVIN_SIG_FMT_VGA_720X480P_59D940,
    { 752,     484,    1525,         5,          1,   112,           2,     910,    525,     22,     67,     69,       3,       3,   15,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1432,   0,   0, 1602 }, // TVIN_SIG_FMT_VGA_752X484I_29D970,
    { 768,     574,    1536,         5,          1,   112,           2,     944,    625,     22,     69,     85,       3,       3,   20,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1475,   0,   0, 1920 }, // TVIN_SIG_FMT_VGA_768X574I_25D000,
    { 800,     600,    683 ,         5,          1,   48 ,           2,    1024,    625,     24,     72,    128,       1,       2,   22,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  3600,   0,   0, 1707 }, // TVIN_SIG_FMT_VGA_800X600P_56D250,
    { 800,     600,    634 ,         5,          1,   77 ,           2,    1056,    628,     40,    128,     88,       1,       4,   23,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  4000,   0,   0, 1592 }, // TVIN_SIG_FMT_VGA_800X600P_60D317,
    { 800,     600,    499 ,         5,          1,   58 ,           2,    1040,    666,     56,    120,     64,      37,       6,   23,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5000,   0,   0, 1330 }, // TVIN_SIG_FMT_VGA_800X600P_72D188, // 30
    { 800,     600,    512 ,         5,          1,   39 ,           2,    1056,    625,     16,     80,    160,       1,       3,   21,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  4950,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_800X600P_75D000,
    { 800,     600,    447 ,         5,          1,   27 ,           2,    1048,    631,     32,     64,    152,       1,       3,   27,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5625,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_800X600P_85D061,
    { 832,     624,    489 ,         5,          1,   42 ,           2,    1120,    654,     32,     96,    160,       3,       3,   24,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5500,   0,   0, 1279 }, // TVIN_SIG_FMT_VGA_832X624P_75D087,
    { 848,     480,    559 ,         5,          1,   41 ,           2,    1088,    507,     40,     80,    120,       3,       5,   19,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  4675,   0,   0, 1133 }, // TVIN_SIG_FMT_VGA_848X480P_84D751,
    {1024,     768,    498 ,         5,          1,   30 ,           2,    1328,    813,     80,     80,    144,      11,       5,   29,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  6400,   0,   0, 1619 }, // TVIN_SIG_FMT_VGA_1024X768P_59D278,
    {1024,     768,    398 ,         5,          1,   29 ,           2,    1328,    804,     32,     96,    176,       3,       3,   30,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  8000,   0,   0, 1281 }, // TVIN_SIG_FMT_VGA_1024X768P_74D927,
    {1024,     768,    676 ,         5,          1,   94 ,           2,    1264,    817,      8,    176,     56,       0,       4,   21,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  4490,   0,   0, 1104 }, // TVIN_SIG_FMT_VGA_1024X768I_43D479,
    {1024,     768,    496 ,         5,          1,   50 ,           2,    1344,    806,     24,    136,    160,       3,       6,   29,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  6500,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1024X768P_60D004,
    {1024,     768,    425 ,         5,          1,   44 ,           2,    1328,    806,     24,    136,    144,       3,       6,   29,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7500,   0,   0, 1370 }, // TVIN_SIG_FMT_VGA_1024X768P_70D069,
    {1024,     768,    400 ,         5,          1,   29 ,           2,    1312,    800,     16,     96,    176,       1,       3,   28,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7875,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1024X768P_75D029, // 40
    {1024,     768,    349 ,         5,          1,   24 ,           2,    1376,    808,     48,     96,    208,       1,       3,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  9450,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_1024X768P_84D997,
    {1024,     768,    503 ,         5,          1,   48 ,           2,    1344,    795,     64,    128,    128,       3,       3,   21,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  6411,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1024X768P_60D000,
    {1024,     768,    381 ,         5,          1,   36 ,           2,    1344,    840,     64,    128,    128,       4,       4,   64,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  8459,   0,   0, 1281 }, // TVIN_SIG_FMT_VGA_1024X768P_74D925,
    {1024,     768,    398 ,         5,          1,   29 ,           2,    1328,    803,     16,     96,    192,       6,       6,   23,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  8000,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1024X768P_75D020,
    {1024,     768,    426 ,         5,          1,   85 ,           2,    1368,    804,     18,    273,     53,       0,       8,   28,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7700,   0,   0, 1371 }, // TVIN_SIG_FMT_VGA_1024X768P_70D008,
    {1024,     768,    393 ,         5,          1,   89 ,           2,    1408,    806,      8,    320,     56,       0,       8,   30,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  8600,   0,   0, 1267 }, // TVIN_SIG_FMT_VGA_1024X768P_75D782,
    {1024,     768,    387 ,         5,          1,   36 ,           2,    1360,    805,     32,    128,    176,       2,       4,   31,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  8437,   0,   0, 1246 }, // TVIN_SIG_FMT_VGA_1024X768P_77D069,
    {1024,     768,    415 ,         5,          1,   44 ,           2,    1296,    806,     24,    136,    112,       3,       6,   29,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7500,   0,   0, 1337 }, // TVIN_SIG_FMT_VGA_1024X768P_71D799,
    {1024,    1024,    379 ,         5,          1,   43 ,           2,    1408,   1056,     21,    160,    203,       3,       3,   26,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  8921,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1024X1024P_60D000,
    {1053,     754,    678 ,         5,          1,   96 ,           2,    1286,    815,     14,    182,     37,       0,       4,   27,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  4554,   0,   0, 1105 }, // TVIN_SIG_FMT_VGA_1053X754I_43D453, // 50
    {1056,     768,    674 ,         5,          1,   93 ,           2,    1280,    819,      7,    176,     41,       0,       4,   22,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  4557,   0,   0, 1104 }, // TVIN_SIG_FMT_VGA_1056X768I_43D470,
    {1120,     750,    730 ,         5,          1,   42 ,           2,    1456,    821,    112,     84,    140,       8,       5,   23,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  4784,   0,   0, 1199 }, // TVIN_SIG_FMT_VGA_1120X750I_40D021,
    {1152,     864,    376 ,         5,          1,   24 ,           2,    1480,    912,     32,     96,    200,       1,       3,   44,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  9450,   0,   0, 1371 }, // TVIN_SIG_FMT_VGA_1152X864P_70D012,
    {1152,     864,    356 ,         5,          1,   28 ,           2,    1600,    900,     64,    128,    256,       1,       3,   32,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10800,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1152X864P_75D000,
    {1152,     864,    311 ,         5,          1,   25 ,           2,    1576,    907,     64,    128,    232,       1,       3,   39,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 12150,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_1152X864P_84D999,
    {1152,     870,    349 ,         5,          1,   31 ,           2,    1456,    915,     32,    128,    144,       3,       3,   39,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10000,   0,   0, 1279 }, // TVIN_SIG_FMT_VGA_1152X870P_75D062,
    {1152,     900,    388 ,         5,          1,   33 ,           2,    1504,    937,     29,    128,    195,       2,       4,   31,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  9294,   0,   0, 1456 }, // TVIN_SIG_FMT_VGA_1152X900P_65D950,
    {1152,     900,    388 ,         5,          1,   33 ,           2,    1528,    937,     40,    128,    208,       2,       4,   31,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  9450,   0,   0, 1454 }, // TVIN_SIG_FMT_VGA_1152X900P_66D004,
    {1152,     900,    335 ,         5,          1,   22 ,           2,    1472,    943,     16,     96,    208,       2,       8,   33,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10556,   0,   0, 1262 }, // TVIN_SIG_FMT_VGA_1152X900P_76D047,
    {1152,     900,    334 ,         5,          1,   28 ,           2,    1504,    943,     32,    128,    192,       2,       8,   33,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10800,   0,   0, 1261 }, // TVIN_SIG_FMT_VGA_1152X900P_76D149, // 60
    {1244,     842,    914 ,         5,          1,   66 ,           2,    1524,    875,     36,    110,    134,       3,       3,   11,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  4001,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1244X842I_30D000,
    {1280,     768,    506 ,         5,          1,   11 ,           2,    1440,    790,     48,     32,     80,       3,       7,   12,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  6825,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1280X768P_59D995,
    {1280,     768,    398 ,         5,          1,   30 ,           2,    1696,    805,     80,    128,    208,       3,       7,   27,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10225,   0,   0, 1282 }, // TVIN_SIG_FMT_VGA_1280X768P_74D893,
    {1280,     768,    350 ,         5,          1,   28 ,           2,    1712,    809,     80,    136,    216,       3,       7,   31,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 11750,   0,   0, 1132 }, // TVIN_SIG_FMT_VGA_1280X768P_84D837,
    {1280,     960,    400 ,         5,          1,   25 ,           2,    1800,   1000,     96,    112,    312,       1,       3,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10800,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1280X960P_60D000,
    {1280,     960,    320 ,         5,          1,   27 ,           2,    1680,   1000,     32,    144,    224,       1,       3,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 12600,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1280X960P_75D000,
    {1280,     960,    279 ,         5,          1,   26 ,           2,    1728,   1011,     64,    160,    224,       1,       3,   47,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 14850,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_1280X960P_85D002,
    {1280,    1024,    517 ,         5,          1,   24 ,           2,    1696,   1069,     64,     80,    272,       1,       3,   19,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  7875,   0,   0, 1105 }, // TVIN_SIG_FMT_VGA_1280X1024I_43D436,
    {1280,    1024,    375 ,         5,          1,   25 ,           2,    1688,   1066,     48,    112,    248,       1,       3,   38,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10800,   0,   0, 1599 }, // TVIN_SIG_FMT_VGA_1280X1024P_60D020,
    {1280,    1024,    300 ,         5,          1,   26 ,           2,    1688,   1066,     16,    144,    248,       1,       3,   38,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 13500,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1280X1024P_75D025, // 70
    {1280,    1024,    263 ,         5,          1,   24 ,           2,    1728,   1072,     64,    160,    224,       1,       3,   44,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 15750,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_1280X1024P_85D024,
    {1280,    1024,    379 ,         5,          1,   41 ,           2,    1708,   1056,     44,    184,    200,       3,       3,   26,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10818,   0,   0, 1601 }, // TVIN_SIG_FMT_VGA_1280X1024P_59D979,
    {1280,    1024,    307 ,         5,          1,   34 ,           2,    1728,   1085,     64,    192,    192,       3,       3,   55,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 13500,   0,   0, 1333 }, // TVIN_SIG_FMT_VGA_1280X1024P_72D005,
    {1280,    1024,    379 ,         5,          1,   43 ,           2,    1760,   1056,     26,    200,    254,       3,       3,   26,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 11152,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1280X1024P_60D002,
    {1280,    1024,    339 ,         5,          1,   32 ,           2,    1696,   1056,     32,    160,    224,       3,       3,   26,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 12000,   0,   0, 1433 }, // TVIN_SIG_FMT_VGA_1280X1024P_67D003,
    {1280,    1024,    304 ,         5,          1,   26 ,           2,    1712,   1064,     32,    144,    256,       3,       3,   34,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 13500,   0,   0, 1295 }, // TVIN_SIG_FMT_VGA_1280X1024P_74D112,
    {1280,    1024,    296 ,         5,          1,   17 ,           2,    1724,   1066,     32,    100,    312,       3,       3,   36,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 14000,   0,   0, 1260 }, // TVIN_SIG_FMT_VGA_1280X1024P_76D179,
    {1280,    1024,    335 ,         5,          1,   23 ,           2,    1632,   1075,     16,    112,    224,       6,       8,   37,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 11705,   0,   0, 1439 }, // TVIN_SIG_FMT_VGA_1280X1024P_66D718,
    {1280,    1024,    335 ,         5,          1,   26 ,           2,    1648,   1075,     24,    128,    216,       2,       8,   41,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 11812,   0,   0, 1440 }, // TVIN_SIG_FMT_VGA_1280X1024P_66D677,
    {1280,    1024,    296 ,         5,          1,   11 ,           2,    1664,   1066,     32,     64,    288,       2,       8,   32,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 13500,   0,   0, 1261 }, // TVIN_SIG_FMT_VGA_1280X1024P_76D107, // 80
    {1280,    1024,    376 ,         5,          1,   25 ,           2,    1688,   1065,     48,    112,    248,       1,       3,   37,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10786,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1280X1024P_59D996,
    {1360,     768,    503 ,         5,          1,   39 ,           2,    1776,    798,     72,    136,    208,       3,       5,   22,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  8475,   0,   0, 1605 }, // TVIN_SIG_FMT_VGA_1360X768P_59D799,
    {1360,    1024,    425 ,         5,          1,   86 ,           2,    1824,   1097,     24,    368,     72,       0,       8,   29,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED, 10300,   0,   0, 932  }, // TVIN_SIG_FMT_VGA_1360X1024I_51D476,
    {1440,    1080,    358 ,         5,          1,   28 ,           2,    1936,   1118,     96,    152,    248,       1,       3,   34,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 12987,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1440X1080P_60D000,
    {1600,    1200,    384 ,         5,          1,   34 ,           2,    2160,   1301,     48,    192,    320,       1,       3,   47,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED, 13500,   0,   0, 999  }, // TVIN_SIG_FMT_VGA_1600X1200I_48D040,
    {1600,    1200,    320 ,         5,          1,   28 ,           2,    2160,   1250,     64,    192,    304,       1,       3,   46,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 16200,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1600X1200P_60D000,
    {1600,    1200,    295 ,         5,          1,   26 ,           2,    2160,   1250,     64,    192,    304,       1,       3,   46,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 17550,   0,   0, 1477 }, // TVIN_SIG_FMT_VGA_1600X1200P_65D000,
    {1600,    1200,    274 ,         5,          1,   24 ,           2,    2160,   1250,     64,    192,    304,       1,       3,   46,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 18900,   0,   0, 1371 }, // TVIN_SIG_FMT_VGA_1600X1200P_70D000,
    {1600,    1200,    256 ,         5,          1,   23 ,           2,    2160,   1250,     64,    192,    304,       1,       3,   46,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 20250,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1600X1200P_75D000,
    {1600,    1200,    240 ,         5,          1,   21 ,           2,    2160,   1250,     64,    192,    304,       1,       3,   46,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 21600,   0,   0, 1200 }, // TVIN_SIG_FMT_VGA_1600X1200P_80D000, // 90
    {1600,    1200,    226 ,         5,          1,   20 ,           2,    2160,   1250,     64,    192,    304,       1,       3,   46,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 22950,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_1600X1200P_85D000,
    {1600,    1280,    269 ,         5,          1,   31 ,           2,    2240,   1334,      0,    256,    384,       0,      10,   44,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 20000,   0,   0, 1434 }, // TVIN_SIG_FMT_VGA_1600X1280P_66D931,
    {1680,    1080,    358 ,         5,          1,   29 ,           2,    2256,   1118,    104,    184,    288,       1,       3,   34,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 15133,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1680X1080P_60D000,
    {1792,    1344,    287 ,         5,          1,   23 ,           2,    2448,   1394,    128,    200,    328,       1,       3,   46,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 20475,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1792X1344P_60D000,
    {1792,    1344,    226 ,         5,          1,   20 ,           2,    2456,   1417,     96,    216,    352,       1,       3,   69,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 26100,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1792X1344P_74D997,
    {1856,    1392,    278 ,         5,          1,   25 ,           2,    2528,   1439,     96,    224,    352,       1,       3,   43,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 21825,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1856X1392P_59D995,
    {1856,    1392,    213 ,         5,          1,   19 ,           2,    2560,   1500,    128,    224,    352,       1,       3,  104,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 28800,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1856X1392P_75D000,
    {1868,    1200,    255 ,         5,          1,   21 ,           2,    2560,   1253,    136,    208,    348,       1,       3,   49,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 24058,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1868X1200P_75D000,
    {1920,    1080,    358 ,         5,          1,   29 ,           2,    2576,   1118,    120,    208,    328,       1,       3,   34,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 17280,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1920X1080P_60D000,
    {1920,    1080,    284 ,         5,          1,   23 ,           2,    2608,   1128,    136,    208,    344,       1,       3,   44,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 22064,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1920X1080P_75D000, // 100
    {1920,    1080,    249 ,         5,          1,   20 ,           2,    2624,   1134,    144,    208,    352,       1,       3,   50,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 25293,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_1920X1080P_85D000,
    {1920,    1200,    224 ,         5,          1,   18 ,           2,    2624,   1262,    144,    208,    352,       3,       6,   53,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 28125,   0,   0, 1130 }, // TVIN_SIG_FMT_VGA_1920X1200P_84D932,
    {1920,    1200,    324 ,         5,          1,   5  ,           2,    2080,   1235,     48,     32,     80,       3,       6,   26,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 15400,   0,   0, 1601 }, // TVIN_SIG_FMT_VGA_1920X1200P_59D950,
    {1920,    1200,    255 ,         5,          1,   20 ,           2,    2624,   1253,    144,    208,    352,       1,       3,   49,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 24659,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1920X1200P_75D000,
    {1920,    1200,    224 ,         5,          1,   18 ,           2,    2640,   1260,    152,    208,    360,       1,       3,   56,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 28274,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_1920X1200P_85D000,
    {1920,    1234,    248 ,         5,          1,   20 ,           2,    2624,   1288,    144,    208,    352,       1,       3,   50,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 25348,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1920X1234P_75D000,
    {1920,    1234,    218 ,         5,          1,   17 ,           2,    2640,   1296,    152,    208,    360,       1,       3,   58,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 29082,   0,   0, 1129 }, // TVIN_SIG_FMT_VGA_1920X1234P_85D000,
    {1920,    1440,    267 ,         5,          1,   21 ,           2,    2600,   1500,    128,    208,    344,       1,       3,   56,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 23400,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_1920X1440P_60D000,
    {1920,    1440,    213 ,         5,          1,   18 ,           2,    2640,   1500,    144,    224,    352,       1,       3,   56,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 29700,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_1920X1440P_75D000,
    {2048,    1536,    250 ,         5,          1,   22 ,           2,    2504,   1597,     48,    216,    192,       1,       3,   57,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 23993,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_2048X1536P_60D000_A, // 110
    {2048,    1536,    199 ,         5,          1,   16 ,           2,    2656,   1606,     64,    216,    328,       1,       3,   66,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 31991,   0,   0, 1280 }, // TVIN_SIG_FMT_VGA_2048X1536P_75D000,
    {2048,    1536,    252 ,         5,          1,   20 ,           2,    2800,   1589,    152,    224,    376,       1,       3,   49,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 26695,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_2048X1536P_60D000_B,
    {2048,    2048,    189 ,         5,          1,   21 ,           2,    2816,   2114,     42,    320,    406,       3,       3,   60,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 35723,   0,   0, 1600 }, // TVIN_SIG_FMT_VGA_2048X2048P_60D008,
    {   0,       0,       0,         0,          0,     0,           0,       0,      0,      0,      0,      0,       0,       0,    0,        TVIN_SYNC_POL_NULL,     TVIN_SYNC_POL_NULL,        TVIN_SCAN_MODE_NULL,     0,   0,   0,    0 }, // TVIN_SIG_FMT_VGA_MAX,
//Component format
    { 720,     480,    762 ,         5,          1,   55 ,           2,     858,    525,     16,     62,     60,       9,       6,   30,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_PROGRESSIVE, 2703,   0,   0, 1600 }, // TVIN_SIG_FMT_COMPONENT_480P_60D000,
    { 720,     240,    1525,         5,          1,   110,           2,     858,    263,     19,     62,     57,       4,       3,   16,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_INTERLACED,   1350,   0,   0, 1602 }, // TVIN_SIG_FMT_COMPONENT_480I_59D940,
    { 720,     576,    768 ,         5,          1,   57 ,           2,     864,    625,     12,     64,     68,       5,       5,   39,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_PROGRESSIVE, 2700,   0,   0, 1920 }, // TVIN_SIG_FMT_COMPONENT_576P_50D000,
    { 720,     288,    1536,         5,          1,   112,           2,     864,    313,     12,     63,     69,       2,       3,   20,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_INTERLACED,   1350,   0,   0, 1920 }, // TVIN_SIG_FMT_COMPONENT_576I_50D000,
    {1280,     720,    534 ,         5,          1,   13 ,           2,    1650,    750,    110,     40,    220,       5,       5,   20,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7418,   0,   0, 1602 }, // TVIN_SIG_FMT_COMPONENT_720P_59D940,
    {1280,     720,    640 ,         5,          1,   13 ,           2,    1980,    750,    440,     40,    220,       5,       5,   20,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 1920 }, // TVIN_SIG_FMT_COMPONENT_720P_50D000, // 120
    {1920,    1080,    890 ,         5,          1,   14 ,           2,    2750,   1125,    638,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7418,   0,   0, 4004 }, // TVIN_SIG_FMT_COMPONENT_1080P_23D976,
    {1920,    1080,    889 ,         5,          1,   14 ,           2,    2750,   1125,    638,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 4000 }, // TVIN_SIG_FMT_COMPONENT_1080P_24D000,
    {1920,    1080,    853 ,         5,          1,   14 ,           2,    2640,   1125,    528,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 3840 }, // TVIN_SIG_FMT_COMPONENT_1080P_25D000,
    {1920,    1080,    711 ,         5,          1,   14 ,           2,    2200,   1125,     88,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 3200 }, // TVIN_SIG_FMT_COMPONENT_1080P_30D000,
    {1920,    1080,    427 ,         5,          1,   7  ,           2,    2640,   1125,    528,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 14850,   0,   0, 1920 }, // TVIN_SIG_FMT_COMPONENT_1080P_50D000,
    {1920,    1080,    356 ,         5,          1,   7  ,           2,    2200,   1125,     88,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 14850,   0,   0, 1600 }, // TVIN_SIG_FMT_COMPONENT_1080P_60D000,
    {1920,     540,    890 ,         5,          1,   14 ,           2,    2750,    563,    638,     44,    148,       2,       5,   16,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  7418,   0,   0, 2002 }, // TVIN_SIG_FMT_COMPONENT_1080I_47D952,
    {1920,     540,    889 ,         5,          1,   14 ,           2,    2750,    563,    638,     44,    148,       2,       5,   16,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  7425,   0,   0, 2000 }, // TVIN_SIG_FMT_COMPONENT_1080I_48D000,
    {1920,     540,    853 ,         5,          1,   14 ,           2,    2640,    563,    528,     44,    148,       2,       5,   16,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  7425,   0,   0, 1920 }, // TVIN_SIG_FMT_COMPONENT_1080I_50D000_A,
    {1920,     540,    768 ,         5,          1,   56 ,           2,    2304,    625,     32,    168,    184,      23,       5,   57,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  7200,   0,   0, 1920 }, // TVIN_SIG_FMT_COMPONENT_1080I_50D000_B, // 130
    {1920,     540,    768 ,         5,          1,   21 ,           2,    2376,    625,    147,     66,    243,       4,       1,   80,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  7425,   0,   0, 1920 }, // TVIN_SIG_FMT_COMPONENT_1080I_50D000_C,
    {1920,     540,    711 ,         5,          1,   14 ,           2,    2200,    563,     88,     44,    148,       2,       5,   16,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  7425,   0,   0, 1600 }, // TVIN_SIG_FMT_COMPONENT_1080I_60D000,
    {   0,       0,       0,         0,          0,     0,           0,       0,      0,      0,      0,      0,       0,       0,   0,         TVIN_SYNC_POL_NULL,     TVIN_SYNC_POL_NULL,        TVIN_SCAN_MODE_NULL,     0,   0,   0,    0 }, // TVIN_SIG_FMT_COMPONENT_MAX,
//HDMI(CEA-861-E) format
    { 640,     480,       0,         0,          0,     0,           0,     800,    525,     16,     96,     48,      10,       2,   33,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2518,   0,   0, 1602 }, // TVIN_SIG_FMT_HDMI_640x480P_60Hz,
    { 720,     480,       0,         0,          0,     0,           0,     858,    525,     16,     62,     60,       9,       6,   30,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2700,   0,   0, 1602 }, // TVIN_SIG_FMT_HDMI_720x480P_60Hz,
    {1280,     720,       0,         0,          0,     0,           0,    1650,    750,    110,     40,    220,       5,       5,   20,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 1600 }, // TVIN_SIG_FMT_HDMI_1280x720P_60Hz,
    {1920,     540,       0,         0,          0,     0,           0,    2200,    563,     88,     44,    148,       2,       5,   16,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  7425,   0,   0, 1600 }, // TVIN_SIG_FMT_HDMI_1920x1080I_60Hz,
    {1440,     240,       0,         0,          0,     0,           0,    1716,    263,     38,    124,    114,       4,       3,   16,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  2700,   0,   0, 1602 }, // TVIN_SIG_FMT_HDMI_1440x480I_60Hz,
    {1440,     240,       0,         0,          0,     0,           0,    1716,    262,     38,    124,    114,       4,       3,   15,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2700,   0,   0, 1602 }, // TVIN_SIG_FMT_HDMI_1440x240P_60Hz,
    {2880,     240,       0,         0,          0,     0,           0,    3432,    263,     76,    248,    228,       4,       3,   16,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  5400,   0,   0, 1602 }, // TVIN_SIG_FMT_HDMI_2880x480I_60Hz, // 140
    {2880,     240,       0,         0,          0,     0,           0,    3432,    262,     76,    248,    228,       4,       3,   15,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5400,   0,   0, 1599 }, // TVIN_SIG_FMT_HDMI_2880x240P_60Hz,
    {1440,     480,       0,         0,          0,     0,           0,    1716,    525,     32,    124,    120,       9,       6,   30,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5400,   0,   0, 1602 }, // TVIN_SIG_FMT_HDMI_1440x480P_60Hz,
    {1920,    1080,       0,         0,          0,     0,           0,    2200,   1125,     88,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 14850,   0,   0, 1600 }, // TVIN_SIG_FMT_HDMI_1920x1080P_60Hz,
    { 720,     576,       0,         0,          0,     0,           0,     864,    625,     12,     64,     68,       5,       5,   39,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2700,   0,   0, 1920 }, // TVIN_SIG_FMT_HDMI_720x576P_50Hz,
    {1280,     720,       0,         0,          0,     0,           0,    1980,    750,    440,     40,    220,       5,       5,   20,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 1920 }, // TVIN_SIG_FMT_HDMI_1280x720P_50Hz,
    {1920,     540,       0,         0,          0,     0,           0,    2640,    563,    528,     44,    148,       2,       5,   16,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED,  7425,   0,   0, 1920 }, // TVIN_SIG_FMT_HDMI_1920x1080I_50Hz_A,
    {1440,     288,       0,         0,          0,     0,           0,    1728,    313,     24,    126,    138,       2,       3,   20,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  2700,   0,   0, 1920 }, // TVIN_SIG_FMT_HDMI_1440x576I_50Hz,
    {1440,     288,       0,         0,          0,     0,           0,    1728,    312,     24,    126,    138,       2,       3,   19,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  2700,   0,   0, 1917 }, // TVIN_SIG_FMT_HDMI_1440x288P_50Hz,
    {2880,     288,       0,         0,          0,     0,           0,    3456,    313,     48,    252,    276,       2,       3,   20,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  5400,   0,   0, 1920 }, // TVIN_SIG_FMT_HDMI_2880x576I_50Hz,
    {2880,     288,       0,         0,          0,     0,           0,    3456,    312,     48,    252,    276,       2,       3,   19,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5400,   0,   0, 1917 }, // TVIN_SIG_FMT_HDMI_2880x288P_50Hz, // 150
    {1440,     576,       0,         0,          0,     0,           0,    1728,    625,     24,    128,    136,       5,       5,   39,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5400,   0,   0, 1920 }, // TVIN_SIG_FMT_HDMI_1440x576P_50Hz,
    {1920,    1080,       0,         0,          0,     0,           0,    2640,   1125,    528,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 14850,   0,   0, 1920 }, // TVIN_SIG_FMT_HDMI_1920x1080P_50Hz,
    {1920,    1080,       0,         0,          0,     0,           0,    2750,   1125,    638,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 4000 }, // TVIN_SIG_FMT_HDMI_1920x1080P_24Hz,
    {1920,    1080,       0,         0,          0,     0,           0,    2640,   1125,    528,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 3840 }, // TVIN_SIG_FMT_HDMI_1920x1080P_25Hz,
    {1920,    1080,       0,         0,          0,     0,           0,    2200,   1125,     88,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 3200 }, // TVIN_SIG_FMT_HDMI_1920x1080P_30Hz,
    {2880,     480,       0,         0,          0,     0,           0,    3432,    525,     64,    248,    240,       9,       6,   30,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10800,   0,   0, 1602 }, // TVIN_SIG_FMT_HDMI_2880x480P_60Hz,
    {2880,     576,       0,         0,          0,     0,           0,    3456,    625,     48,    256,    272,       5,       5,   39,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10800,   0,   0, 1920 }, // TVIN_SIG_FMT_HDMI_2880x576P_60Hz,
    {1920,     540,       0,         0,          0,     0,           0,    2304,    625,     32,    168,    184,      23,       5,   57,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  7200,   0,   0, 1920 }, // TVIN_SIG_FMT_HDMI_1920x1080I_50Hz_B,
    {1920,     540,       0,         0,          0,     0,           0,    2640,    563,    528,     44,    148,       2,       5,   16,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED, 14850,   0,   0, 960  }, // TVIN_SIG_FMT_HDMI_1920x1080I_100Hz,
    {1280,     720,       0,         0,          0,     0,           0,    1980,    750,    440,     40,    220,       5,       5,   20,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 14850,   0,   0, 960  }, // TVIN_SIG_FMT_HDMI_1280x720P_100Hz, // 160
    { 720,     576,       0,         0,          0,     0,           0,     864,    625,     12,     64,     68,       5,       5,   39,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5400,   0,   0, 960  }, // TVIN_SIG_FMT_HDMI_720x576P_100Hz,
    {1440,     288,       0,         0,          0,     0,           0,    1728,    313,     24,     12,    252,       2,       3,   20,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  5400,   0,   0, 960  }, // TVIN_SIG_FMT_HDMI_1440x576I_100Hz,
    {1920,     540,       0,         0,          0,     0,           0,    2200,    563,     88,     44,    148,       2,       5,   16,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE,  TVIN_SCAN_MODE_INTERLACED, 14850,   0,   0, 800  }, // TVIN_SIG_FMT_HDMI_1920x1080I_120Hz,
    {1280,     720,       0,         0,          0,     0,           0,    1650,    750,    110,     40,    220,       5,       5,   20,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 14850,   0,   0, 800  }, // TVIN_SIG_FMT_HDMI_1280x720P_120Hz,
    { 720,     480,       0,         0,          0,     0,           0,     858,    525,     16,     62,     60,       9,       6,   30,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5400,   0,   0, 801  }, // TVIN_SIG_FMT_HDMI_720x480P_120Hz,
    {1440,     240,       0,         0,          0,     0,           0,    1716,    263,     38,     12,    226,       4,       3,   16,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  5400,   0,   0, 801  }, // TVIN_SIG_FMT_HDMI_1440x480I_120Hz,
    { 720,     576,       0,         0,          0,     0,           0,     864,    625,     13,     64,     67,       5,       5,   39,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10800,   0,   0, 480  }, // TVIN_SIG_FMT_HDMI_720x576P_200Hz,
    {1440,     288,       0,         0,          0,     0,           0,    1728,    313,     24,     12,    252,       2,       3,   20,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED, 10800,   0,   0, 480  }, // TVIN_SIG_FMT_HDMI_1440x576I_200Hz,
    { 720,     480,       0,         0,          0,     0,           0,     858,    525,     16,     62,     60,       9,       6,   30,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE, 10800,   0,   0, 400  }, // TVIN_SIG_FMT_HDMI_720x480P_240Hz,
    {1440,     240,       0,         0,          0,     0,           0,    1716,    263,     38,     12,    226,       4,       3,   16,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED, 10800,   0,   0, 400  }, // TVIN_SIG_FMT_HDMI_1440x480I_240Hz, // 170
    {1280,     720,       0,         0,          0,     0,           0,    3300,    750,   1760,     40,    220,       5,       5,   20,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  5940,   0,   0, 4000 }, // TVIN_SIG_FMT_HDMI_1280x720P_24Hz,
    {1280,     720,       0,         0,          0,     0,           0,    3960,    750,   2420,     40,    220,       5,       5,   20,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 3840 }, // TVIN_SIG_FMT_HDMI_1280x720P_25Hz,
    {1280,     720,       0,         0,          0,     0,           0,    3300,    750,   1760,     40,    220,       5,       5,   20,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  7425,   0,   0, 3200 }, // TVIN_SIG_FMT_HDMI_1280x720P_30Hz,
    {1920,    1080,       0,         0,          0,     0,           0,    2200,   1125,     88,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 29700,   0,   0, 800  }, // TVIN_SIG_FMT_HDMI_1920x1080P_120Hz,
    {1920,    1080,       0,         0,          0,     0,           0,    2640,   1125,    528,     44,    148,       4,       5,   36,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 29700,   0,   0, 960  }, // TVIN_SIG_FMT_HDMI_1920x1080P_100Hz,
    {   0,       0,       0,         0,          0,     0,           0,       0,      0,      0,      0,      0,       0,       0,    0,        TVIN_SYNC_POL_NULL,     TVIN_SYNC_POL_NULL,        TVIN_SCAN_MODE_NULL,     0,   0,   0,   0  }, // TVIN_SIG_FMT_HDMI_MAX,
//CVBS format
    { 720,     240,       0,         0,          0,     0,           0,     858,    263,     16,     62,     0,        4,       3,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1350,   0,   0, 1602 },  //TVIN_SIG_FMT_CVBS_NTSC_M,
    { 720,     240,       0,         0,          0,     0,           0,     858,    263,     16,     62,     0,        4,       3,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1350,   0,   0, 1602 },  //TVIN_SIG_FMT_CVBS_NTSC_443,
    { 720,     288,       0,         0,          0,     0,           0,     864,    313,     20,     62,     0,        3,       3,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1350,   0,   0, 1920 },  //TVIN_SIG_FMT_CVBS_PAL_I,
    { 720,     240,       0,         0,          0,     0,           0,     858,    263,     20,     62,     0,        4,       3,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1350,   0,   0, 1602 },  //TVIN_SIG_FMT_CVBS_PAL_M, // 180
    { 720,     240,       0,         0,          0,     0,           0,     858,    263,     16,     62,     0,        4,       3,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1350,   0,   0, 1602 },  //TVIN_SIG_FMT_CVBS_PAL_60,
    { 720,     288,       0,         0,          0,     0,           0,     864,    313,     12,     62,     0,        3,       3,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1350,   0,   0, 1920 },  //TVIN_SIG_FMT_CVBS_PAL_CN,
    { 720,     288,       0,         0,          0,     0,           0,     864,    313,     12,     62,     0,        3,       3,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1350,   0,   0, 1920 },  //TVIN_SIG_FMT_CVBS_SECAM,
//BT656 BT601& CAMERA format
    { 720,     288,    6400,        64,         16,     0,           0,     864,    625,     12,     64,     0,        5,       5,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  1350,   0,   0, 1920},  //TVIN_SIG_FMT_BT656IN_576I,
    { 720,     240,    6356,        64,         16,     0,           0,     858,    525,     16,     62,     0,        9,       6,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  1350,   0,   0, 1600},  //TVIN_SIG_FMT_BT656IN_480I,
    { 720,     288,    6400,        64,         16,     0,           0,     864,    625,     12,     64,     0,        5,       5,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  1350,   0,   0, 1920},  //TVIN_SIG_FMT_BT601IN_576I,
    { 720,     240,    6356,        64,         16,     0,           0,     858,    525,     16,     62,     0,        9,       6,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  1350,   0,   0, 1600},  //TVIN_SIG_FMT_BT601IN_480I,
    { 640,     480,    6356,        64,         16,   473,           2,     780,    525,     18,     58,     64,       4,       3,   16,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE,  TVIN_SCAN_MODE_INTERLACED,  1227,   0,   0, 3200}, // TVIN_SIG_FMT_CAMERA_640X480P_30HZ,
    { 800,     600,       0,        64,         16,     0,           0,    1056,    628,     40,    128,     0,        1,       4,    0,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE,  4000,   0,   0, 3200},  //TVIN_SIG_FMT_CAMERA_800X600P_30HZ,
    {1024,     768,       0,        64,         16,     0,           0,    1344,    795,     64,    128,     0,        3,       3,    0,    TVIN_SYNC_POL_NEGATIVE, TVIN_SYNC_POL_NEGATIVE, TVIN_SCAN_MODE_PROGRESSIVE,  6411,   0,   0, 3200},  //TVIN_SIG_FMT_CAMERA_1024X768P_30HZ, // 190
    {1920,    1080,       0,        64,         16,     0,           0,    2576,   1118,    120,    208,     0,        1,       3,    0,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 17280,   0,   0, 3200},  //TVIN_SIG_FMT_CAMERA_1920X1080P_30HZ,
    {1280,    720,        0,        64,         16,     0,           0,    1650,    750,    120,    208,     0,        1,       3,    0,    TVIN_SYNC_POL_POSITIVE, TVIN_SYNC_POL_POSITIVE, TVIN_SCAN_MODE_PROGRESSIVE, 17280,   0,   0, 3200},  //TVIN_SIG_FMT_CAMERA_1280X720P_30HZ,
//format max
    {   0,       0,       0,         0,          0,     0,           0,       0,      0,      0,      0,     0,        0,       0,    0,        TVIN_SYNC_POL_NULL,     TVIN_SYNC_POL_NULL,        TVIN_SCAN_MODE_NULL,     0,   0,   0,     0},  //TVIN_SIG_FMT_MAX,
};


#if 1
#define r_0a 0x00
#define r_0e 0x00
#define r_12 0x00
#define r_16 0x00
#define r_1c 0x00
#define r_1d 0x00
#define r_22 0x00
#define r_23 0x00
#define r_25 0x00
#define r_29 0x00
#define r_2c 0x00
#define r_2d 0x00
#define r_36 0x00
#define r_37 0x00
#define r_40 0x00
#define r_42 0x00
#define r_44 0x00
#define r_45 0x00
#define r_48 0x00
#define r_49 0x00
#define r_4a 0x00
#define r_4b 0x00
#define r_4c 0x00
#define r_4d 0x00
#define r_4e 0x00
#define r_4f 0x00
#define r_50 0x00
#define r_51 0x00
#define r_52 0x00
#define r_53 0x00
#define r_54 0x00
#define r_55 0x00
#define r_57 0x00
#define r_67 0x00
#define r_6a 0x00
#define r_6b 0x00
#define r_6c 0x00
#define r_6d 0x00
#define r_6e 0x00
#define r_6f 0x00

const unsigned char adc_vga_table[TVIN_SIG_FMT_VGA_MAX-TVIN_SIG_FMT_NULL-1][ADC_REG_NUM] =
{
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_512X384P_60D147,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_560X384P_60D147,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X200P_59D924,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X350P_85D080,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X400P_59D940,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X400P_85D080,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X400P_59D638,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X400P_56D416,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X480I_29D970,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X480P_66D619,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X480P_66D667,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X480P_59D940,
    {
        0x32, 0x31, 0xF0, 0x08, 0x14, 0x12, 0x00, 0x98, 0x90, 0x99, 0x80, 0x11, 0x12, 0x10, 0x10, 0x40,
        0x4F, 0x45, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0x10, 0x10, 0x10, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xD0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0x92, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x10, 0x00, 0x10, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x6F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x31, 0x00, 0x00, 0x10, 0x00, 0x20, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_640X480P_60D000,
    {
        0x32, 0x33, 0xF0, 0x08, 0x14, 0x12, 0x00, 0x98, 0x90, 0x99, 0x80, 0x11, 0x12, 0x10, 0x10, 0x40,
        0x4F, 0x45, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0x10, 0x10, 0x10, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xD0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0x92, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x10, 0x00, 0x10, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x6F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x31, 0x00, 0x00, 0x10, 0x00, 0x10, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_640X480P_72D809,wangfeng
    {
         0x32, 0x34, 0x70, 0x08, 0x14, 0x12, 0x00, 0x98, 0x90, 0x99, 0x80, 0x11, 0x12, 0x10, 0x10, 0x40,
        0x4F, 0x45, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0x10, 0x10, 0x10, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xD0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0x92, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x10, 0x00, 0x10, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x6F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x31, 0x00, 0x00, 0x10, 0x00, 0x10, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_640X480P_75D000_A,wangfeng
    {
        0x32, 0x34, 0x70, 0x08, 0x14, 0x12, 0x00, 0x98, 0x90, 0x99, 0x80, 0x11, 0x12, 0x10, 0x10, 0x40,
        0x4F, 0x45, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0x10, 0x10, 0x10, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xD0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0x92, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x10, 0x00, 0x10, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x6F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x31, 0x00, 0x00, 0x10, 0x00, 0x10, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_640X480P_85D008,wangfeng
    {
    	0x32,0x31,0xF0,0x08,0x14,0x12,0x00,0x98,0x90,0x99,0x80,0x11,0x12,0x10,0x10,0x40,
	    0x4F,0x45,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0x10,0x10,0x10,0x30,0x00,0x29,0x88,         //why is no lpf open
	    0x10,0x05,0xD0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
	    0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
	    0x1D,0x28,0x02,0x01,0x10,0x00,0x10,0x00,0x00,0x08,0x00,0x22,0x8F,0x6F,0x28,0x00,  //for dpll lock make 0x59 = 0x06->0x08
	    0xFF,0x00,0x28,0x31,0x00,0x00,0x10,0x00,0x20,0x14,0x00,0x00,0x00,0x00,0x00,0x00
    },// TVIN_SIG_FMT_VGA_640X480P_59D638,zhuangwei
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X480P_75D000_B,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_640X870P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_720X350P_70D086,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_720X400P_85D039,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_720X400P_70D086,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_720X400P_87D849,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_720X400P_59D940,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_720X480P_59D940,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_752X484I_29D970,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_768X574I_25D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_800X600P_56D250,
    {
    	0x32,0x41,0xF0,0x08,0x14,0x12,0x00,0x9F,0xB0,0xAF,0x80,0x12,0x0F,0x13,0x10,0x47,
	    0x46,0x47,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCC,0xCC,0xCC,0x30,0x00,0x29,0x88,
	    0x10,0x07,0xD0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
	    0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x03,0x00,
	    0x1D,0x28,0x02,0x01,0x27,0x00,0x13,0x00,0x00,0x06,0x00,0x22,0x8F,0x6F,0x28,0x00,
	    0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x21,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    },// TVIN_SIG_FMT_VGA_800X600P_60D317,zhuangwei
    {
        0x32,0x40,0xF0,0x08,0x14,0x12,0x00,0x9F,0xB0,0xAF,0x80,0x12,0x0F,0x13,0x10,0x47,
	0x46,0x47,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCC,0xCC,0xCC,0x30,0x00,0x29,0x88,
	0x10,0x07,0xD0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
	0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x03,0x00,
	0x1D,0x28,0x02,0x01,0x27,0x00,0x13,0x00,0x00,0x06,0x00,0x22,0x8F,0x6F,0x28,0x00,
	0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x21,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_800X600P_72D188,wangfeng
    {
        0x32,0x41,0xF0,0x08,0x14,0x12,0x00,0x9F,0xB0,0xAF,0x80,0x12,0x0F,0x13,0x10,0x47,
	0x46,0x47,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCC,0xCC,0xCC,0x30,0x00,0x29,0x88,
	0x10,0x07,0xD0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
	0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x03,0x00,
	0x1D,0x28,0x02,0x01,0x27,0x00,0x13,0x00,0x00,0x06,0x00,0x22,0x8F,0x6F,0x28,0x00,
	0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x21,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_800X600P_75D000,wangfeng
    {
    0x32,0x41,0x70,0x08,0x14,0x12,0x00,0x9F,0xB0,0xAF,0x80,0x12,0x0F,0x13,0x10,0x47,
	0x46,0x47,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCC,0xCC,0xCC,0x30,0x00,0x29,0x88,
	0x10,0x07,0xD0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
	0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0x63,0x08,0x08,
	0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x03,0x00,
	0x1D,0x28,0x02,0x01,0x27,0x00,0x13,0x00,0x00,0x06,0x00,0x22,0x8F,0x6F,0x28,0x00,
	0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_800X600P_85D061,wangfeng
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_832X624P_75D087,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_848X480P_84D751,
    {
        0x32,0x52,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    },// TVIN_SIG_FMT_VGA_1024X768P_59D278,
    {
        0x32,0x52,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_74D927,
    {
        0x32,0x4e,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768I_43D479,
    {
        0x32,0x53,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x56/*0x76*/,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_60D004,
    {
        0x32,0x52,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_70D069,
    {
        0x32,0x51,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_75D029,
    {
        0x32,0x55,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_84D997,
    {
        0x32,0x53,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_60D000,zhuangwei
    {
        0x32,0x53,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_74D925,
    {
        0x32,0x52,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_75D020,
    {
        0x32,0x55,0x70,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_70D008,
    {
        0x32,0x57,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_75D782,
    {
        0x32,0x54,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_77D069,
    {
        0x32,0x50,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB3,0xB1,0x80,0x11,0x0E,0x12,0x10,0x48,
        0x49,0x4B,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCE,0xCE,0xCE,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
        0x20,0x20,0x08,0x15,0x92,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,    ///what 54 mean
        0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x29,0x00,0x05,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1024X768P_71D799,
    {
        0x32, 0x57, 0xF0, 0x08, 0x14, 0x12, 0x00, 0xA0, 0xB3, 0xB1, 0x80, 0x11, 0x0E, 0x12, 0x10, 0x48,
        0x49, 0x4B, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0xCE, 0xCE, 0xCE, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0x92, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x18, 0x00, 0x08, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x8F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x11, 0x00, 0x00, 0x10, 0x00, 0x22, 0x29, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_1024X1024P_60D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1053X754I_43D453,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1056X768I_43D470,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1120X750I_40D021,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1152X864P_70D012,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1152X864P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1152X864P_84D999,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1152X870P_75D062,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1152X900P_65D950,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1152X900P_66D004,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1152X900P_76D047,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1152X900P_76D149,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1244X842I_30D000,
    {
          0x32, 0x67, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x99, 0xAC, 0xAD, 0x80, 0x12, 0x0F, 0x13, 0x10, 0x46,
        0x47, 0x48, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0xCD, 0xCD, 0xCD, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0xB7, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x18, 0x00, 0x08, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x8F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x11, 0x00, 0x00, 0x10, 0x00, 0x22, 0x49, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_1280X768P_59D995,
    {
             0x32, 0x69, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x99, 0xAC, 0xAD, 0x80, 0x12, 0x0F, 0x13, 0x10, 0x46,
        0x47, 0x48, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0xCD, 0xCD, 0xCD, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0xB7, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x18, 0x00, 0x08, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x8F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x11, 0x00, 0x00, 0x10, 0x00, 0x22, 0x59, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_1280X768P_74D893,
    {
     0x32, 0x6a, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x99, 0xAC, 0xAD, 0x80, 0x12, 0x0F, 0x13, 0x10, 0x46,
        0x47, 0x48, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0xCD, 0xCD, 0xCD, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0xB7, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x18, 0x00, 0x08, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x8F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x11, 0x00, 0x00, 0x10, 0x00, 0x23, 0x59, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_1280X768P_84D837,wangfeng
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X960P_60D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X960P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X960P_85D002,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024I_43D436,
    {
        0x32, 0x69, 0x70, 0x08, 0x14, 0x12, 0x00, 0x99, 0xAC, 0xAD, 0x80, 0x12, 0x0F, 0x13, 0x10, 0x46,
        0x47, 0x48, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0xCD, 0xCD, 0xCD, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0xB7, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x18, 0x00, 0x08, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x8F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x11, 0x00, 0x00, 0x10, 0x00, 0x22, 0x49, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_1280X1024P_60D020,wangfeng
    {
        0x32, 0x69, 0x70, 0x08, 0x14, 0x12, 0x00, 0x99, 0xAC, 0xAD, 0x80, 0x12, 0x0F, 0x13, 0x10, 0x46,
        0x47, 0x48, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0xCD, 0xCD, 0xCD, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0xB7, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x18, 0x00, 0x08, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x8F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x11, 0x00, 0x00, 0x10, 0x00, 0x22, 0x49, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_1280X1024P_75D025,wangfeng
    {
        0x32, 0x69, 0x70, 0x08, 0x14, 0x12, 0x00, 0x99, 0xAC, 0xAD, 0x80, 0x12, 0x0F, 0x13, 0x10, 0x46,
        0x47, 0x48, 0x40, 0x23, 0x23, 0x63, 0x23, 0x33, 0x30, 0xCD, 0xCD, 0xCD, 0x30, 0x00, 0x29, 0x88,
        0x10, 0x07, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
        0x20, 0x20, 0x08, 0x15, 0xB7, 0x07, 0x10, 0x00, 0x00, 0xC0, 0xE3, 0x5F, 0x54, 0xE3, 0x08, 0x08,
        0x70, 0x07, 0x75, 0xF0, 0xF0, 0xF0, 0x5D, 0x5A, 0x00, 0x00, 0x85, 0x01, 0x00, 0x29, 0x00, 0x00,
        0x1D, 0x28, 0x02, 0x01, 0x18, 0x00, 0x08, 0x00, 0x00, 0x08, 0x00, 0x22, 0x8F, 0x8F, 0x28, 0x00,
        0xFF, 0x00, 0x28, 0x11, 0x00, 0x00, 0x10, 0x00, 0x23, 0x71, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    }, // TVIN_SIG_FMT_VGA_1280X1024P_85D024,wangfeng
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024P_59D979,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024P_72D005,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024P_60D002,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024P_67D003,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024P_74D112,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024P_76D179,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024P_66D718,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024P_66D677,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1280X1024P_76D107,
    {
    	0x32,0x69,0x70,0x08,0x14,0x12,0x00,0x99,0xAC,0xAD,0x80,0x12,0x0F,0x13,0x10,0x46,
	    0x47,0x48,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0xCD,0xCD,0xCD,0x30,0x00,0x29,0x88,   //why the lpfbwctr 1280x1024 < 1024x768
	    0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
	    0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
	    0x1D,0x28,0x02,0x01,0x18,0x00,0x08,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,
	    0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x22,0x49,0x00,0x00,0x00,0x00,0x00,0x00
    },//TVIN_SIG_FMT_VGA_1280X1024P_59D996,zhuangwei
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1360X768P_59D799,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1360X1024I_51D476,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1440X1080P_60D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1600X1200I_48D040,
    {
    	0x32,0x86,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB2,0xB1,0x80,0x13,0x12,0x14,0x10,0x42,
	    0x46,0x47,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0x40,0x40,0x40,0x30,0x00,0x29,0x88,
	    0x10, 0x01, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
	    0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
	    0x1D,0x28,0x02,0x01,0x32,0x00,0x0D,0x00,0x00,0x0A,0x00,0x22,0x8F,0xBF,0x28,0x00,
	    0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x23,0x51,0x00,0x00,0x00,0x00,0x00,0x00
    },// TVIN_SIG_FMT_VGA_1600X1200P_60D000,zhuangwei
    {
        0x32,0x86,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB2,0xB1,0x80,0x13,0x12,0x14,0x10,0x42,
	0x46,0x47,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0x40,0x40,0x40,0x30,0x00,0x29,0x88,
	0x10, 0x01, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
	0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
	0x1D,0x28,0x02,0x01,0x32,0x00,0x0D,0x00,0x00,0x0A,0x00,0x22,0x8F,0xBF,0x28,0x00,
	0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x23,0x71,0x00,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1600X1200P_65D000,wangfeng
    {
        0x32,0x86,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB2,0xB1,0x80,0x13,0x12,0x14,0x10,0x42,
	0x46,0x47,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0x40,0x40,0x40,0x30,0x00,0x29,0x88,
	0x10, 0x01, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
	0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
	0x1D,0x28,0x02,0x01,0x32,0x00,0x0D,0x00,0x00,0x0A,0x00,0x22,0x8F,0xBF,0x28,0x00,
	0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x23,0x71,0x00,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1600X1200P_70D000,wangfeng
    {
        0x32,0x86,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB2,0xB1,0x80,0x13,0x12,0x14,0x10,0x42,
	0x46,0x47,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0x40,0x40,0x40,0x30,0x00,0x29,0x88,
	0x10, 0x01, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
	0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
	0x1D,0x28,0x02,0x01,0x32,0x00,0x0D,0x00,0x00,0x0A,0x00,0x22,0x8F,0xBF,0x28,0x00,
	0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x23,0x71,0x00,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1600X1200P_75D000,wangfeng
    {
       0x32,0x86,0xF0,0x08,0x14,0x12,0x00,0xA0,0xB2,0xB1,0x80,0x13,0x12,0x14,0x10,0x42,
	0x46,0x47,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0x40,0x40,0x40,0x30,0x00,0x29,0x88,
	0x10, 0x01, 0xC0, 0x00, 0x03, 0x00, 0x78, 0x78, 0x00, 0x00, 0x00, 0x01, 0xFF, 0x00, 0x76, 0x28,
	0x20,0x20,0x08,0x15,0xB7,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
	0x1D,0x28,0x02,0x01,0x32,0x00,0x0D,0x00,0x00,0x0A,0x00,0x22,0x8F,0xBF,0x28,0x00,
	0xFF,0x00,0x28,0x11,0x00,0x00,0x10,0x00,0x23,0x71,0x00,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_VGA_1600X1200P_80D000,wangfeng
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1600X1200P_85D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1600X1280P_66D931,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1680X1080P_60D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1792X1344P_60D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1792X1344P_74D997,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1856X1392P_59D995,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1856X1392P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1868X1200P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1080P_60D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1080P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1080P_85D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1200P_84D932,
    {
    	0x32,0xA1,0xF0,0x08,0x14,0x12,0x00,0x95,0xA9,0xA9,0x80,0x12,0x11,0x14,0x10,0x4F,
	    0x40,0x40,0x40,0x23,0x23,0x63,0x23,0x33,0x30,0x60,0x60,0x70,0x30,0x00,0x29,0x88,     //1b why = 70 ?what is the diff
	    0x10,0x05,0xC0,0x00,0x03,0x00,0x78,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x76,0x28,
	    0x20,0x20,0x08,0x15,0x97,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
	    0x1D,0x28,0x02,0x01,0x00,0x00,0x04,0x00,0x00,0x0A,0x00,0x22,0x8F,0xAF,0x28,0x00,
	    0xFF,0x00,0x28,0x12,0x00,0x00,0x10,0x00,0x23,0xE1,0x05,0x05,0x05,0x00,0x00,0x00
    },// TVIN_SIG_FMT_VGA_1920X1200P_59D950,zhuangwei
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1200P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1200P_85D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1234P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1234P_85D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1440P_60D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_1920X1440P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_2048X1536P_60D000_A,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_2048X1536P_75D000,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_2048X1536P_60D000_B,
    {
        0x00, 0x41, 0xf0, 0x08, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x40, 0x40, r_12, 0x23, 0x23, 0xe3, r_16, 0x00, 0x00, 0x30, 0x30, 0x30, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x46, 0x28,
        0x20, 0x20, 0x0c, 0x0f, 0x25, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x08, 0x08,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x22, 0x22, 0x57, 0x6f, 0x04, 0x04,
        0xf4, 0x00, 0x05, 0x29, 0x00, 0x00, 0x10, r_67, 0x2d, 0x39, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f,
    }, // TVIN_SIG_FMT_VGA_2048X2048P_60D008,
};

const unsigned char adc_component_table[TVIN_SIG_FMT_COMP_MAX-TVIN_SIG_FMT_VGA_MAX-1][ADC_REG_NUM] =
{
    {
    	0x32,0x35,0x90,0x08,0x14,0x12,0x00,0x98,0x91,0x9A,0x80,0x11,0x11,0x10,0x10,0x40,
    	0x87,0x88,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0xB7,0xB7,0xB7,0x30,0x00,0x29,0x88,
    	0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x5F,0x28,
    	0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
    	0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
    	0x1D,0x28,0x02,0x01,0x10,0x00,0x10,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,
	    0xFF,0x00,0x28,0x31,0x00,0x00,0x10,0x00,0x25,0x99,0x00,0x00,0x00,0x00,0x00,0x00
    },// TVIN_SIG_FMT_COMPONENT_480P_60D000,zhuangwei
	{
		0x32,0x35,0x90,0x08,0x14,0x12,0x00,0x98,0x91,0x9A,0x80,0x11,0x11,0x10,0x10,0x40,
        0x87,0x88,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0xB7,0xB7,0xB7,0x30,0x00,0x29,0x88,    ///why the lpfbwctr 480i == 480p = 28?
        0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x7F,0x28,
        0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x14,0x14,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x10,0x00,0x10,0x00,0x00,0x06,0x00,0x22,0x8F,0x8F,0x28,0x00,
        0xFF,0x00,0x28,0x31,0x00,0x00,0x10,0x00,0x24,0x99,0x05,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_COMPONENT_480I_59D940,wangfeng
    {
        0x32,0x35,0x90,0x08,0x14,0x12,0x00,0x98,0x91,0x9A,0x80,0x11,0x11,0x10,0x10,0x40,
    0x87,0x88,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0xB7,0xB7,0xB7,0x30,0x00,0x29,0x88,
    0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x5F,0x28,
    0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x01,0x00,0x29,0x00,0x00,
    0x1D,0x28,0x02,0x01,0x10,0x00,0x10,0x00,0x00,0x08,0x00,0x22,0x8F,0x8F,0x28,0x00,
	0xFF,0x00,0x28,0x31,0x00,0x00,0x10,0x00,0x25,0x99,0x00,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_COMPONENT_576P_50D000,wangfeng
    {
		0x32,0x35,0xf0,0x08,0x14,0x12,0x00,0x98,0x91,0x9A,0x80,0x11,0x11,0x10,0x10,0x40,
        0x87,0x88,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0xB7,0xB7,0xB7,0x30,0x00,0x29,0x88,    ///why the lpfbwctr 480i == 480p = 28?
        0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x7F,0x28,
        0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x14,0x14,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x10,0x00,0x10,0x00,0x00,0x06,0x00,0x22,0x8F,0x8F,0x28,0x00,
        0xFF,0x00,0x28,0x31,0x00,0x00,0x10,0x00,0x24,0x99,0x05,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_COMPONENT_576I_50D000,wangfeng
    {
    	0x32,0x67,0x10,0x40,0x14,0x12,0x00,0x00/*0x98*/,0x00/*0x92*/,0x00/*0x9A*/,0x80,0x12,0x11,0x10,0x10,0x42,
	    0x8D,0x8E,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0x30,0x30,0x30,0x30,0x00,0x29,0x88,    //why no open lpf
	    0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x5F,0x28,
	    0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
	    0x1D,0x28,0x02,0x01,0x22,0x00,0x1D,0x00,0x00,0x08,0x00,0x02,0x8F,0xAF,0x28,0x00,     //0x59 0x08->0x09 ;0x60 0x00->0x04
	    0xFF,0x00,0x28,0x21,0x00,0x00,0x10,0x00,0x26,0x15,0x05,0x00,0x00,0x00,0x00,0x00      //0x68 0x26->0x27
    },// TVIN_SIG_FMT_COMPONENT_720P_59D940,zhuangwei
    {
        0x32,0x7b,0xb0,0x40,0x14,0x12,0x00,0x98,0x92,0x9A,0x80,0x12,0x11,0x10,0x10,0x42,
	0x8D,0x8E,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0x30,0x30,0x30,0x30,0x00,0x29,0x88,    //why no open lpf
	0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x00,0x01,0xFF,0x00,0x5F,0x28,
	0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
	0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
	0x1D,0x28,0x02,0x01,0x22,0x00,0x1D,0x00,0x00,0x08,0x00,0x02,0x8F,0xAF,0x28,0x00,     //0x59 0x08->0x09 ;0x60 0x00->0x04
	0xFF,0x00,0x28,0x21,0x00,0x00,0x10,0x00,0x27,0x15,0x05,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_COMPONENT_720P_50D000,wangfeng
    {
        0x00, 0x35, 0xf0, 0x14, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x80, 0x80, r_12, 0x23, 0x23, 0xa3, r_16, 0x00, 0x00, 0x70, 0x70, 0x70, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x64, 0x28,
        0x20, 0x20, 0x08, 0x0f, 0x6f, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x04, 0x02,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x23, 0x22, 0x8f, 0x6f, 0x0e, 0x02,
        0xf4, 0x00, 0x0e, 0x39, 0x00, 0x00, 0x10, r_67, 0x2c, 0x29, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f
    }, // TVIN_SIG_FMT_COMPONENT_1080P_23D976,
    {
        0x00, 0x35, 0xf0, 0x14, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x80, 0x80, r_12, 0x23, 0x23, 0xa3, r_16, 0x00, 0x00, 0x70, 0x70, 0x70, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x64, 0x28,
        0x20, 0x20, 0x08, 0x0f, 0x6f, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x04, 0x02,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x23, 0x22, 0x8f, 0x6f, 0x0e, 0x02,
        0xf4, 0x00, 0x0e, 0x39, 0x00, 0x00, 0x10, r_67, 0x2c, 0x29, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f
    }, // TVIN_SIG_FMT_COMPONENT_1080P_24D000,
    {
        0x00, 0x35, 0xf0, 0x14, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x80, 0x80, r_12, 0x23, 0x23, 0xa3, r_16, 0x00, 0x00, 0x70, 0x70, 0x70, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x64, 0x28,
        0x20, 0x20, 0x08, 0x0f, 0x6f, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x04, 0x02,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x23, 0x22, 0x8f, 0x6f, 0x0e, 0x02,
        0xf4, 0x00, 0x0e, 0x39, 0x00, 0x00, 0x10, r_67, 0x2c, 0x29, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f
    }, // TVIN_SIG_FMT_COMPONENT_1080P_25D000,
    {
        0x00, 0x35, 0xf0, 0x14, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x80, 0x80, r_12, 0x23, 0x23, 0xa3, r_16, 0x00, 0x00, 0x70, 0x70, 0x70, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x64, 0x28,
        0x20, 0x20, 0x08, 0x0f, 0x6f, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x04, 0x02,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x23, 0x22, 0x8f, 0x6f, 0x0e, 0x02,
        0xf4, 0x00, 0x0e, 0x39, 0x00, 0x00, 0x10, r_67, 0x2c, 0x29, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f
    }, // TVIN_SIG_FMT_COMPONENT_1080P_30D000,
    {
        0x32,0xa4,0xf0,0x40,0x14,0x12,0x00,0x93,0x8D,0x94,0x80,0x13,0x12,0x11,0x10,0x41,
     0x87,0x87,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0x50,0x50,0x50,0x30,0x00,0x29,0x88,
     0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x02,0x01,0xFF,0x00,0x5F,0x28,
     0x20,0x20,0x02,0x02,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
     0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
     0x1D,0x28,0x02,0x01,0x31,0x00,0x11,0x00,0x00,0x09,0x00,0x02,0x8f,0xAF,0x28,0x00,    ////dpll
     0xFF,0x00,0x28,0x21,0x00,0x00,0x10,0x00,0x27,0x65,0x05,0x00,0x00,0x00,0x00,0x00
    },// TVIN_SIG_FMT_COMPONENT_1080P_50D000,zhuangwei wangfeng
    {
        0x32,0x89,0x70,0x40,0x14,0x12,0x00,0x00/*0x93*/,0x00/*0x8D*/,0x00/*0x94*/,0x80,0x13,0x12,0x11,0x10,0x41,
        0x87,0x87,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0x50,0x50,0x50,0x30,0x00,0x29,0x88,
        0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x02,0x01,0xFF,0x00,0x5F,0x28,
        0x20,0x20,0x02,0x02,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
        0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
        0x1D,0x28,0x02,0x01,0x31,0x00,0x11,0x00,0x00,0x09,0x00,0x02,0x8f,0xAF,0x28,0x00,    ////dpll
        0xFF,0x00,0x28,0x21,0x00,0x00,0x10,0x00,0x27,0x65,0x05,0x00,0x00,0x00,0x00,0x00
    },// TVIN_SIG_FMT_COMPONENT_1080P_60D000,zhuangwei
    {
        0x00, 0x35, 0xf0, 0x14, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x80, 0x80, r_12, 0x23, 0x23, 0xa3, r_16, 0x00, 0x00, 0x70, 0x70, 0x70, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x64, 0x28,
        0x20, 0x20, 0x08, 0x0f, 0x6f, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x04, 0x02,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x23, 0x22, 0x8f, 0x6f, 0x0e, 0x02,
        0xf4, 0x00, 0x0e, 0x39, 0x00, 0x00, 0x10, r_67, 0x2c, 0x29, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f
    }, // TVIN_SIG_FMT_COMPONENT_1080I_47D952,
    {
        0x00, 0x35, 0xf0, 0x14, 0x14, 0x12, 0x00, 0x00, 0x00, 0x00, r_0a, 0x10, 0x10, 0x10, r_0e, 0x40,
        0x80, 0x80, r_12, 0x23, 0x23, 0xa3, r_16, 0x00, 0x00, 0x70, 0x70, 0x70, r_1c, r_1d, 0x69, 0x88,
        0x10, 0x03, r_22, r_23, 0x00, r_25, 0x78, 0x78, 0x00, r_29, 0x00, 0x00, r_2c, r_2d, 0x64, 0x28,
        0x20, 0x20, 0x08, 0x0f, 0x6f, 0x02, r_36, r_37, 0x20, 0xc0, 0x03, 0x5c, 0x54, 0x81, 0x04, 0x02,
        r_40, 0x07, r_42, 0xf0, r_44, r_45, 0x51, 0x5a, r_48, r_49, r_4a, r_4b, r_4c, r_4d, r_4e, r_4f,
        r_50, r_51, r_52, r_53, r_54, r_55, 0x10, r_57, 0x00, 0x06, 0x23, 0x22, 0x8f, 0x6f, 0x0e, 0x02,
        0xf4, 0x00, 0x0e, 0x39, 0x00, 0x00, 0x10, r_67, 0x2c, 0x29, r_6a, r_6b, r_6c, r_6d, r_6e, r_6f
    }, // TVIN_SIG_FMT_COMPONENT_1080I_48D000,
    {
	0x32,0x8f,0xf0,0x40,0x14,0x12,0x00,0x98,0x91,0x99,0x80,0x13,0x13,0x12,0x10,0x46,
    0x83,0x84,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0x30,0x30,0x30,0x30,0x00,0x29,0x88,
    0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x02,0x01,0xFF,0x00,0x5F,0x28,
    0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
    0x1D,0x28,0x02,0x01,0x36,0x00,0x07,0x00,0x00,0x09,0x04,0x02,0x8F,0xAF,0x28,0x00,
    0xFF,0x00,0x28,0x21,0x00,0x00,0x10,0x00,0x27,0x15,0x00,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_COMPONENT_1080I_50D000_A,exp 72mhz,get 64mhz wangfeng
    {
    	0x32,0x8f,0xf0,0x40,0x14,0x12,0x00,0x98,0x91,0x99,0x80,0x13,0x13,0x12,0x10,0x46,
    0x83,0x84,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0x30,0x30,0x30,0x30,0x00,0x29,0x88,
    0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x02,0x01,0xFF,0x00,0x5F,0x28,
    0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
    0x1D,0x28,0x02,0x01,0x36,0x00,0x07,0x00,0x00,0x09,0x04,0x02,0x8F,0xAF,0x28,0x00,
    0xFF,0x00,0x28,0x21,0x00,0x00,0x10,0x00,0x27,0x15,0x00,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_COMPONENT_1080I_50D000_B,exp 72mhz,get 64mhz wangfeng

    {
       	0x32,0x8f,0xf0,0x40,0x14,0x12,0x00,0x98,0x91,0x99,0x80,0x13,0x13,0x12,0x10,0x46,
    0x83,0x84,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0x30,0x30,0x30,0x30,0x00,0x29,0x88,
    0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x02,0x01,0xFF,0x00,0x5F,0x28,
    0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
    0x1D,0x28,0x02,0x01,0x36,0x00,0x07,0x00,0x00,0x09,0x04,0x02,0x8F,0xAF,0x28,0x00,
    0xFF,0x00,0x28,0x21,0x00,0x00,0x10,0x00,0x27,0x15,0x00,0x00,0x00,0x00,0x00,0x00
    }, // TVIN_SIG_FMT_COMPONENT_1080I_50D000_C,exp 72mhz,get 64mhz wangfeng

    {
    0x32,0x89,0x70,0x40,0x14,0x12,0x00,0x98,0x91,0x99,0x80,0x13,0x13,0x12,0x10,0x46,
    0x83,0x84,0x40,0x23,0x23,0x63,0x23,0x11,0x10,0x30,0x30,0x30,0x30,0x00,0x29,0x88,
    0x10,0x05,0xC0,0x00,0x01,0x00,0x40,0x78,0x00,0x00,0x02,0x01,0xFF,0x00,0x5F,0x28,
    0x20,0x20,0x03,0x03,0x6B,0x07,0x10,0x00,0x00,0xC0,0xE3,0x5F,0x54,0xE3,0x08,0x08,
    0x70,0x07,0x75,0xF0,0xF0,0xF0,0x5D,0x5A,0x00,0x00,0x85,0x09,0x00,0x29,0x00,0x00,
    0x1D,0x28,0x02,0x01,0x36,0x00,0x07,0x00,0x00,0x09,0x04,0x02,0x8F,0xAF,0x28,0x00,
    0xFF,0x00,0x28,0x21,0x00,0x00,0x10,0x00,0x26,0x15,0x00,0x00,0x00,0x00,0x00,0x00
    },// TVIN_SIG_FMT_COMPONENT_1080I_60D000,zhuangwei
};

const unsigned char adc_cvbs_table[ADC_REG_NUM] =
{
    0x00, 0x6b, 0xf0, 0x08, 0x14, 0x30/*0x20*/, 0x10, 0x00, 0x00, 0x00, 0x00, 0x8e/*0x0e*/, 0x10, 0x10, 0x00, 0x00,
    0x00, 0x00, 0x40, 0x23, 0x23, 0xa3, 0x22, 0x10, 0x00, 0x81/*0x30*/, 0x30, 0x00, 0x00, 0x00, 0x69, 0x88,
    0x30, 0x07, 0xc0, 0x00, 0x05/*0x00*/, 0x00, 0x3f, 0x3f, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x40, 0x28,
    0x20, 0x20, 0x08, 0x0f, 0x25, 0x02, 0x10, 0x00, 0x00, 0xc0, 0xe3, 0x5c, 0x54, 0x81, 0x01, 0x08,
    0x70, 0x07, 0x75, 0xf8, 0xf0, 0xf0, 0x51, 0x5a, 0x00, 0x00, 0x85, 0x01, 0x00, 0x30, 0x00, 0x00,
    0x18, 0x15, 0x03, 0x00, 0xe0, 0x00, 0x10, 0x00, 0x09, 0x07, 0x02, 0x22, 0x8e, 0x6f, 0x0f, 0x09,
    0xf4, 0x00, 0x0f, 0x19, 0x00, 0x00, 0x10, 0x00, 0x0b, 0x39, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
#endif

#if 1
#define r180 (unsigned char)((CVD2_CHROMA_DTO_NTSC_M  >>24)&0x000000ff)
#define r190 (unsigned char)((CVD2_CHROMA_DTO_NTSC_M  >>16)&0x000000ff)
#define r1a0 (unsigned char)((CVD2_CHROMA_DTO_NTSC_M  >> 8)&0x000000ff)
#define r1b0 (unsigned char)((CVD2_CHROMA_DTO_NTSC_M  >> 0)&0x000000ff)
#define r1c0 (unsigned char)(( CVD2_HSYNC_DTO_NTSC_M  >>24)&0x000000ff)
#define r1d0 (unsigned char)(( CVD2_HSYNC_DTO_NTSC_M  >>16)&0x000000ff)
#define r1e0 (unsigned char)(( CVD2_HSYNC_DTO_NTSC_M  >> 8)&0x000000ff)
#define r1f0 (unsigned char)(( CVD2_HSYNC_DTO_NTSC_M  >> 0)&0x000000ff)

#define r181 (unsigned char)((CVD2_CHROMA_DTO_NTSC_443>>24)&0x000000ff)
#define r191 (unsigned char)((CVD2_CHROMA_DTO_NTSC_443>>16)&0x000000ff)
#define r1a1 (unsigned char)((CVD2_CHROMA_DTO_NTSC_443>> 8)&0x000000ff)
#define r1b1 (unsigned char)((CVD2_CHROMA_DTO_NTSC_443>> 0)&0x000000ff)
#define r1c1 (unsigned char)(( CVD2_HSYNC_DTO_NTSC_443>>24)&0x000000ff)
#define r1d1 (unsigned char)(( CVD2_HSYNC_DTO_NTSC_443>>16)&0x000000ff)
#define r1e1 (unsigned char)(( CVD2_HSYNC_DTO_NTSC_443>> 8)&0x000000ff)
#define r1f1 (unsigned char)(( CVD2_HSYNC_DTO_NTSC_443>> 0)&0x000000ff)

#define r182 (unsigned char)((CVD2_CHROMA_DTO_PAL_I   >>24)&0x000000ff)
#define r192 (unsigned char)((CVD2_CHROMA_DTO_PAL_I   >>16)&0x000000ff)
#define r1a2 (unsigned char)((CVD2_CHROMA_DTO_PAL_I   >> 8)&0x000000ff)
#define r1b2 (unsigned char)((CVD2_CHROMA_DTO_PAL_I   >> 0)&0x000000ff)
#define r1c2 (unsigned char)(( CVD2_HSYNC_DTO_PAL_I   >>24)&0x000000ff)
#define r1d2 (unsigned char)(( CVD2_HSYNC_DTO_PAL_I   >>16)&0x000000ff)
#define r1e2 (unsigned char)(( CVD2_HSYNC_DTO_PAL_I   >> 8)&0x000000ff)
#define r1f2 (unsigned char)(( CVD2_HSYNC_DTO_PAL_I   >> 0)&0x000000ff)

#define r183 (unsigned char)((CVD2_CHROMA_DTO_PAL_M   >>24)&0x000000ff)
#define r193 (unsigned char)((CVD2_CHROMA_DTO_PAL_M   >>16)&0x000000ff)
#define r1a3 (unsigned char)((CVD2_CHROMA_DTO_PAL_M   >> 8)&0x000000ff)
#define r1b3 (unsigned char)((CVD2_CHROMA_DTO_PAL_M   >> 0)&0x000000ff)
#define r1c3 (unsigned char)(( CVD2_HSYNC_DTO_PAL_M   >>24)&0x000000ff)
#define r1d3 (unsigned char)(( CVD2_HSYNC_DTO_PAL_M   >>16)&0x000000ff)
#define r1e3 (unsigned char)(( CVD2_HSYNC_DTO_PAL_M   >> 8)&0x000000ff)
#define r1f3 (unsigned char)(( CVD2_HSYNC_DTO_PAL_M   >> 0)&0x000000ff)

#define r184 (unsigned char)((CVD2_CHROMA_DTO_PAL_60  >>24)&0x000000ff)
#define r194 (unsigned char)((CVD2_CHROMA_DTO_PAL_60  >>16)&0x000000ff)
#define r1a4 (unsigned char)((CVD2_CHROMA_DTO_PAL_60  >> 8)&0x000000ff)
#define r1b4 (unsigned char)((CVD2_CHROMA_DTO_PAL_60  >> 0)&0x000000ff)
#define r1c4 (unsigned char)(( CVD2_HSYNC_DTO_PAL_60  >>24)&0x000000ff)
#define r1d4 (unsigned char)(( CVD2_HSYNC_DTO_PAL_60  >>16)&0x000000ff)
#define r1e4 (unsigned char)(( CVD2_HSYNC_DTO_PAL_60  >> 8)&0x000000ff)
#define r1f4 (unsigned char)(( CVD2_HSYNC_DTO_PAL_60  >> 0)&0x000000ff)

#define r185 (unsigned char)((CVD2_CHROMA_DTO_PAL_CN  >>24)&0x000000ff)
#define r195 (unsigned char)((CVD2_CHROMA_DTO_PAL_CN  >>16)&0x000000ff)
#define r1a5 (unsigned char)((CVD2_CHROMA_DTO_PAL_CN  >> 8)&0x000000ff)
#define r1b5 (unsigned char)((CVD2_CHROMA_DTO_PAL_CN  >> 0)&0x000000ff)
#define r1c5 (unsigned char)(( CVD2_HSYNC_DTO_PAL_CN  >>24)&0x000000ff)
#define r1d5 (unsigned char)(( CVD2_HSYNC_DTO_PAL_CN  >>16)&0x000000ff)
#define r1e5 (unsigned char)(( CVD2_HSYNC_DTO_PAL_CN  >> 8)&0x000000ff)
#define r1f5 (unsigned char)(( CVD2_HSYNC_DTO_PAL_CN  >> 0)&0x000000ff)

#define r186 (unsigned char)((CVD2_CHROMA_DTO_SECAM   >>24)&0x000000ff)
#define r196 (unsigned char)((CVD2_CHROMA_DTO_SECAM   >>16)&0x000000ff)
#define r1a6 (unsigned char)((CVD2_CHROMA_DTO_SECAM   >> 8)&0x000000ff)
#define r1b6 (unsigned char)((CVD2_CHROMA_DTO_SECAM   >> 0)&0x000000ff)
#define r1c6 (unsigned char)(( CVD2_HSYNC_DTO_SECAM   >>24)&0x000000ff)
#define r1d6 (unsigned char)(( CVD2_HSYNC_DTO_SECAM   >>16)&0x000000ff)
#define r1e6 (unsigned char)(( CVD2_HSYNC_DTO_SECAM   >> 8)&0x000000ff)
#define r1f6 (unsigned char)(( CVD2_HSYNC_DTO_SECAM   >> 0)&0x000000ff)

// 00~3f
const unsigned char cvd_part1_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][CVD_PART1_REG_NUM] =
{
#if 0
    {
        0x00, 0x01, 0x43, 0x10, 0xdd, 0x32, 0x80, 0x6e, 0x80, 0x20, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r180, r190, r1a0, r1b0, r1c0, r1d0, r1e0, r1f0,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x46, 0x5a, 0x82, 0x50,
        0x22, 0x61, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_NTSC_M,
    {
        0x00, 0x01, 0x43, 0x82, 0xdd, 0x32, 0x80, 0x60, 0x80, 0x16, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r181, r191, r1a1, r1b1, r1c1, r1d1, r1e1, r1f1,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x32, 0x46, 0x82, 0x50,
        0x22, 0x61, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_NTSC_443,
    {
        0x32, 0x08, 0x42, 0x12, 0xdd, 0xff/*0x32*/, 0x80, 0x22/*0x20*/, 0x80, 0x20, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r182, r192, r1a2, r1b2, r1c2, r1d2, r1e2, r1f2,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x42, 0x6d, 0x5a, 0x1d, 0xb9, 0xd6, 0x4e, 0x32, 0x46, 0x84, 0x50,
        0x2a, 0xc0, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x2e, 0x00, 0x0d, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_PAL_I,
    {
        0x04, 0x00, 0x43, 0x12, 0xdd, 0xff, 0x80, 0x20, 0x80, 0x16, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r183, r193, r1a3, r1b3, r1c3, r1d3, r1e3, r1f3,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x46, 0x5a, 0x82, 0x50,
        0x22, 0x61, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    },  // TVIN_SIG_FMT_CVBS_PAL_M,
    {
        0x04, 0x00, 0x43, 0x02, 0xdd, 0x0a, 0x80, 0x20, 0x80, 0x16, 0x80, 0x00, 0x67, 0x01, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r184, r194, r1a4, r1b4, r1c4, r1d4, r1e4, r1f4,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x32, 0x46, 0x84, 0x50,
        0x2a, 0x61, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_PAL_60,
    {
        0x36, 0x01, 0x43, 0x12, 0xdd, 0xff, 0x80, 0x20, 0x80, 0x16, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r185, r195, r1a5, r1b5, r1c5, r1d5, r1e5, r1f5,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x46, 0x5a, 0x8a, 0x50,
        0x2a, 0xc1, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_PAL_CN,
    {
        0x38, 0x00, 0x43, 0x00, 0xdd, 0x32, 0x80, 0x20, 0x80, 0x16, 0x80, 0x00, 0xc8, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r186, r196, r1a6, r1b6, r1c6, r1d6, r1e6, r1f6,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x5a, 0x6e, 0x76, 0x50,
        0x29, 0xbf, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_SECAM,

#else
    {
        0x00, 0x01, 0x43, 0x10, 0xdd, 0xff, 0x80, 0x6e, 0x80, 0x20, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r180, r190, r1a0, r1b0, r1c0, r1d0, r1e0, r1f0,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x32, 0x46, 0x82, 0x50,
        0x22, 0x61, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_NTSC_M,
    {
        0x00, 0x01, 0x43, 0x82, 0xdd, 0xff, 0x80, 0x60, 0x80, 0x16, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r181, r191, r1a1, r1b1, r1c1, r1d1, r1e1, r1f1,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x32, 0x46, 0x82, 0x50,
        0x22, 0x61, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_NTSC_443,
    {
        0x32, 0x08, 0x43, 0x12, 0xdd, 0xff/*0x32*/, 0x80, 0x22, 0x80, 0x20, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r182, r192, r1a2, r1b2, r1c2, r1d2, r1e2, r1f2,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x42, 0x6d, 0x5a, 0x1d, 0xb9, 0xd6, 0x4e, 0x32, 0x46, 0x8c, 0x50,
        0x2a, 0xc0, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x2e, 0x00, 0x0d, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_PAL_I,
    {
        0x04, 0x01, 0x43, 0x12, 0xdd, 0xff, 0x80, 0x20, 0x80, 0x16, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r183, r193, r1a3, r1b3, r1c3, r1d3, r1e3, r1f3,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x32, 0x46, 0x82, 0x50,
        0x22, 0x61, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_PAL_M,
    {
        0x04, 0x00, 0x43, 0x02, 0xdd, 0xff, 0x80, 0x20, 0x80, 0x16, 0x80, 0x00, 0x67, 0x01, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r184, r194, r1a4, r1b4, r1c4, r1d4, r1e4, r1f4,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x32, 0x46, 0x84, 0x50,
        0x2a, 0x61, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_PAL_60,
    {
        0x36, 0x01, 0x43, 0x12, 0xdd, 0xff, 0x80, 0x20, 0x80, 0x16, 0x80, 0x00, 0x8a, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r185, r195, r1a5, r1b5, r1c5, r1d5, r1e5, r1f5,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x32, 0x46, 0x8a, 0x50,
        0x2a, 0xc1, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_PAL_CN,
    {
        0x38, 0x00, 0x43, 0x00, 0xdc, 0xff, 0x80, 0x20, 0x80, 0x16, 0x80, 0x00, 0xc8, 0x00, 0x2f/*0x06*/, 0x00,
        0x0a, 0x09, 0x10, 0xb4, 0x80, 0x20, 0xf6, 0x0b, r186, r196, r1a6, r1b6, r1c6, r1d6, r1e6, r1f6,
        0x3e, 0x3e, 0x00, 0x80, 0xf3, 0x3e, 0x6d, 0x5a, 0x07, 0x29, 0xd6, 0x4e, 0x5a, 0x6e, 0x76, 0x50,
        0x29, 0xbf, 0x70, 0x0e, 0x6c, 0x10, 0x00, 0x23, 0x01, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01/*0x00*/
    }, // TVIN_SIG_FMT_CVBS_SECAM,
#endif
};

#define r_81 0x00
#define r_89 0x00
#define r_8c 0x00
#define r_97 0x00
#define r_98 0x00
#define r_99 0x00
#define r_9a 0x00
#define r_9b 0x00
#define r_9c 0x00
#define r_9d 0x00
#define r_9e 0x00
#define r_9f 0x00
#define r_ad 0x00
#define r_b9 0x00
#define r_bf 0x00
#define r_c1 (unsigned char)(CVD2_DCRESTORE_ACCUM)
#define r_cf 0x00
#define r_dd 0x00
#define r_df 0x00
#define r_ef 0x00
#define r_f5 0x00
#define r_f6 0x00
#define r_f7 0x00
#define r_f8 0x00
#define r_ff 0x00
// 70~ff
const unsigned char cvd_part2_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][CVD_PART2_REG_NUM] =
{
#if 0
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x0b, 0x23, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x60, 0x90, 0xe3, 0x0c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x50, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x40, 0x46, 0x5a, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x1c, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_NTSC_M,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x03, 0x24, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x17, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x0c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x40, 0x46, 0x5a, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x1c, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_NTSC_443,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x04, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x82,
        0x3a, 0xf3, 0x0c, 0x03, 0x23, 0x22, 0x02, 0x00, 0x08, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x2c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x40, r_dd, 0x08, r_df,
        0x00, 0x01, 0xc2, 0x88, 0x6e, 0x50, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x1f, 0x3c, 0x6e, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x20, 0x32, 0x50, 0x1c, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_PAL_I,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0x3a, 0xf3, 0x08, 0x03, 0x23, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x2c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x50, 0x8c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x1f, 0x46, 0x5a, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x1c, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_PAL_M,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x0b, 0x24, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x0c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x40, 0x3c, 0x6e, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x05, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_PAL_60,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x03, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x03, 0x24, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x2c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x50, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x1f, 0x46, 0x5a, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x1c, 0xdc, r_ff
    }, // TVIN_SIG_FMT_CVBS_PAL_CN,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x03, 0x24, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x0c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x1f/*0x08*/, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x40, 0x3c, 0x6e, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x50, 0x6e, 0x05, 0xdc, r_ff
    }, // TVIN_SIG_FMT_CVBS_SECAM,

#else
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x08, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x0b, 0x23, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x60, 0x90, 0xe3, 0x0c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x50, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x40, 0x46, 0x5a, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x1c, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_NTSC_M,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x03, 0x24, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x17, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x0c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x40, 0x46, 0x5a, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x1c, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_NTSC_443,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x04, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x82,
        0x3a, 0xf3, 0x0c, 0x03, 0x23, 0x22, 0x02, 0x00, 0x08, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x2c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x40, r_dd, 0x08, r_df,
        0x00, 0x01, 0xc2, 0x88, 0x6e, 0x50, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x1f, 0x46, 0x5a, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x20, 0x32, 0x50, 0x1c, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_PAL_I,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0x3a, 0xf3, 0x0c, 0x03, 0x23, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x2c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x50, 0x8c, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x1f, 0x46, 0x5a, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x1c, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_PAL_M,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x0b, 0x24, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x0c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x40, 0x3c, 0x6e, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x05, 0x00, r_ff
    }, // TVIN_SIG_FMT_CVBS_PAL_60,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x03, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x03, 0x24, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x2c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x08, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x50, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x1f, 0x46, 0x5a, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x32, 0x50, 0x1c, 0xdc, r_ff
    }, // TVIN_SIG_FMT_CVBS_PAL_CN,
    {
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x04, r_81, 0x42, 0x6f, 0x03, 0x00, 0x00, 0x00, 0x00, r_89, 0x0a, 0x11, r_8c, 0x0a, 0x00, 0xe2,
        0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, r_97, r_98, r_99, r_9a, r_9b, r_9c, r_9d, r_9e, r_9f,
        0xc2/*0xc6*/, 0x0b, 0x00, 0x00, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x16, 0x0f, 0xc1, r_ad, 0xcf, 0x8c,
        0xe0, 0x2f, 0x0c, 0x03, 0x24, 0x22, 0x02, 0x00, 0x00, r_b9, 0x24, 0x5f, 0x00, 0x25, 0x55, r_bf,
        0x14, r_c1, 0x40, 0xc0, 0xfe, 0x90, 0x00, 0x00, 0x01, 0x50, 0x62, 0x90, 0xe3, 0x0c, 0x23, r_cf,
        0xc0, 0x08, 0x10, 0x10, 0x0a, 0x00, 0x0d, 0x00, 0x00, 0x05, 0x00, 0x05, 0x50, r_dd, 0x1f/*0x08*/, r_df,
        0x00, 0x00, 0x00, 0x00, 0x6e, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, r_ef,
        0x20, 0x40, 0x3c, 0x6e, 0xe4, r_f5, r_f6, r_f7, r_f8, 0x01, 0x00, 0x50, 0x6e, 0x05, 0xdc, r_ff
    }, // TVIN_SIG_FMT_CVBS_SECAM,
#endif
};

// 0x87, 0x93, 0x94, 0x95, 0x96, 0xe6, 0xfa
const unsigned int cvd_part3_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][CVD_PART3_REG_NUM] =
{
    {
        0x00000000, 0x98000000, 0x0000FF08, 0x00000000, 0x00200000, 0x0000008c, 0x00000020
    }, // TVIN_SIG_FMT_CVBS_NTSC_M,
    {
        0x00000000, 0x98000000, 0x0000FF08, 0x00000000, 0x00200000, 0x0000008c, 0x00000020
    }, // TVIN_SIG_FMT_CVBS_NTSC_443,
    {
        0x00000000, 0x98000000, 0x0000FF08, 0x00000000, 0x00200000, 0x0000008c, 0x00000020
    }, // TVIN_SIG_FMT_CVBS_PAL_I,
    {
        0x00000000, 0x98000000, 0x0000FF08, 0x00000000, 0x00200000, 0x0000008c, 0x00000020
    }, // TVIN_SIG_FMT_CVBS_PAL_M,
    {
        0x00000000, 0x98000000, 0x0000FF08, 0x00000000, 0x00200000, 0x0000008c, 0x00000020
    }, // TVIN_SIG_FMT_CVBS_PAL_60,
    {
        0x00000000, 0x98000000, 0x0000FF08, 0x00000000, 0x00200000, 0x0000008c, 0x00000020
    }, // TVIN_SIG_FMT_CVBS_PAL_CN,
    {
        0x00000000, 0x98000000, 0x0000FF08, 0x00000000, 0x00200000, 0x0000008c, 0x00000020
    }, // TVIN_SIG_FMT_CVBS_SECAM,

};


const unsigned int cvbs_acd_table[TVIN_SIG_FMT_CVBS_SECAM-TVIN_SIG_FMT_CVBS_NTSC_M+1][ACD_REG_MAX+1] =
{
    {
        0x11111109, // ACD_REG_00
        0x11111111, // ACD_REG_01
        0x8000e110, // ACD_REG_02
        0x08881e18, // ACD_REG_03
        0xb36d1858, // ACD_REG_04
        0x00007612, // ACD_REG_05
        0x00000000, // ACD_REG_06
        0x77443322, // ACD_REG_07
        0x20e000fe, // ACD_REG_08
        0x00000101, // ACD_REG_09
        0x00000000, // ACD_REG_0A
        0x80030518, // ACD_REG_0B
        0x00000000, // ACD_REG_0C
        0x00000000, // ACD_REG_0D
        0x00000000, // ACD_REG_0E
        0x00000000, // ACD_REG_0F
        0x0804403c, // ACD_REG_10
        0x44404020, // ACD_REG_11
        0x10080044, // ACD_REG_12
        0x00202018, // ACD_REG_13
        0x1006844b, // ACD_REG_14
        0x44404018, // ACD_REG_15
        0x44440044, // ACD_REG_16
        0x00008c80, // ACD_REG_17
        0x18008888, // ACD_REG_18
        0x30100c04, // ACD_REG_19
        0x70ff0484, // ACD_REG_1A
        0x0000208c, // ACD_REG_1B
        0x48484848, // ACD_REG_1C
        0x00004444, // ACD_REG_1D
        0x0, //0x1E
        0x00000000, // ACD_REG_1F
        0x00000000, // ACD_REG_20
        0x10000000, // ACD_REG_21 //need check in M2
        0x00000000, // ACD_REG_22
        0x00000000, // ACD_REG_23
        0x00000000, // ACD_REG_24
        0xeafb4e8e, //0x00000000,}, // ACD_REG_25
        0x00000000, //,0x00000102,}, // ACD_REG_26
        0x00000000, // ACD_REG_27
        0x00002108, // ACD_REG_28
        0x20070000, // ACD_REG_29
        0x0036e946, // ACD_REG_2A
        0x00001001, // ACD_REG_2B
        0x10e0474f, // ACD_REG_2C
        0x00700340, // ACD_REG_2D
        0x00100100, // ACD_REG_2E
        0x8b286000, // ACD_REG_2F //need check in M2
        0x8b270000, // ACD_REG_30 //need check in M2
        0x0, //0x31
        0x00000000, // ACD_REG_32
    }, // TVIN_SIG_FMT_CVBS_NTSC_M,
    {
        0x22333309, // ACD_REG_00
        0x00021111, // ACD_REG_01
        0x8000c110, // ACD_REG_02
        0x08881e28, // ACD_REG_03
        0xe4962858, // ACD_REG_04
        0x00008e19, // ACD_REG_05
        0x00000000, // ACD_REG_06
        0x99664433, // ACD_REG_07
        0x20e000fe, // ACD_REG_08
        0x00000101, // ACD_REG_09
        0x00000000, // ACD_REG_0A
        0x80030518, // ACD_REG_0B
        0x00000000, // ACD_REG_0C
        0x00000000, // ACD_REG_0D
        0x00000000, // ACD_REG_0E
        0x00000000, // ACD_REG_0F
        0x0804603f, // ACD_REG_10
        0x44404020, // ACD_REG_11
        0x18100044, // ACD_REG_12
        0x00282820, // ACD_REG_13
        0x1006844b, // ACD_REG_14
        0x44404018, // ACD_REG_15
        0x44440044, // ACD_REG_16
        0x00008c80, // ACD_REG_17
        0x18008888, // ACD_REG_18
        0x30100c04, // ACD_REG_19
        0x40ff0486, // ACD_REG_1A
        0x04a7208c, // ACD_REG_1B
        0x48484848, // ACD_REG_1C
        0x00004444, // ACD_REG_1D
        0x0, //0x1E
        0x00000000, // ACD_REG_1F
        0x00000000, // ACD_REG_20
        0x10000000, // ACD_REG_21 //need check in M2
        0x00000000, // ACD_REG_22
        0x00000000, // ACD_REG_23
        0x00000000, // ACD_REG_24
        0xeafb4e8e, // ACD_REG_25
        0x00000000, // ACD_REG_26
        0x00000000, // ACD_REG_27
        0x00002108, // ACD_REG_28
        0x20000000, //0x20800000,}, // ACD_REG_29
        0x00375a60, // ACD_REG_2A
        0x00001001, // ACD_REG_2B
        0x10e0474f, // ACD_REG_2C
        0x00840354, // ACD_REG_2D
        0x00150135, // ACD_REG_2E
        0x8b286000, // ACD_REG_2F //need check in M2
        0x8b270000, // ACD_REG_30 //need check in M2
        0x0, //0x31
        0x00000000, // ACD_REG_32
    }, // TVIN_SIG_FMT_CVBS_NTSC_443,
    {
        0xccccccf0, // ACD_REG_00
        0x000ccccc, // ACD_REG_01
        0x00004110, // ACD_REG_02
        0x08881e28, // ACD_REG_03
        0xe4962858, // ACD_REG_04
        0x00008e19, // ACD_REG_05
        0x00000000, // ACD_REG_06
        0x77776442, // ACD_REG_07
        0x20e00044, // ACD_REG_08
        0x00008101, // ACD_REG_09
        0x00000000, // ACD_REG_0A
        0x80050503, // ACD_REG_0B
        0x00000000, // ACD_REG_0C
        0x00000000, // ACD_REG_0D
        0x00000000, // ACD_REG_0E
        0x00000000, // ACD_REG_0F
        0x1010603f, // ACD_REG_10
        0x44441010, // ACD_REG_11
        0x10100444, // ACD_REG_12
        0x00101010, // ACD_REG_13
        0x40e08408, // ACD_REG_14
        0x44808080, // ACD_REG_15
        0x44440844, // ACD_REG_16
        0x00008c80, // ACD_REG_17
        0x01008888, // ACD_REG_18
        0x30100c01, // ACD_REG_19
        0x40ff0486, // ACD_REG_1A
        0x04a7208c, // ACD_REG_1B
        0x88888888, // ACD_REG_1C
        0x00004444, // ACD_REG_1D
        0x0, //0x1E
        0x00000000, // ACD_REG_1F
        0x00000000, // ACD_REG_20
        0x10000000, // ACD_REG_21 //need check in M2
        0x00000000, // ACD_REG_22
        0x00000000, // ACD_REG_23
        0x00000000, // ACD_REG_24
        0xeafb4e8e, // ACD_REG_25
        0x00000000, // ACD_REG_26
        0x00000000, // ACD_REG_27
        0x00000008, // ACD_REG_28
        0x20800000, //0x20800000,}, // ACD_REG_29
        0x00075a60, // ACD_REG_2A
        0x00001001, // ACD_REG_2B
        0x10e0474f, // ACD_REG_2C
        0x00840354, // ACD_REG_2D
        0x00150135, // ACD_REG_2E
        0x89a86000, // ACD_REG_2F //need check in M2
        0x89a70000, // ACD_REG_30 //need check in M2
        0x0, //0x31
        0x00000000, // ACD_REG_32
    }, // TVIN_SIG_FMT_CVBS_PAL_I,
    {
        0x22333309, // ACD_REG_00
        0x00021111, // ACD_REG_01
        0x8000c110, // ACD_REG_02
        0x08881e28, // ACD_REG_03
        0xe4962858, // ACD_REG_04
        0x00008e19, // ACD_REG_05
        0x00000000, // ACD_REG_06
        0x99664433, // ACD_REG_07
        0x20e000fe, // ACD_REG_08
        0x00000101, // ACD_REG_09
        0x00000000, // ACD_REG_0A
        0x80030518, // ACD_REG_0B
        0x00000000, // ACD_REG_0C
        0x00000000, // ACD_REG_0D
        0x00000000, // ACD_REG_0E
        0x00000000, // ACD_REG_0F
        0x0804603f, // ACD_REG_10
        0x44404020, // ACD_REG_11
        0x18100044, // ACD_REG_12
        0x00282820, // ACD_REG_13
        0x1006844b, // ACD_REG_14
        0x44404018, // ACD_REG_15
        0x44440044, // ACD_REG_16
        0x00008c80, // ACD_REG_17
        0x18008888, // ACD_REG_18
        0x30100c04, // ACD_REG_19
        0x40ff0486, // ACD_REG_1A
        0x04a7208c, // ACD_REG_1B
        0x48484848, // ACD_REG_1C
        0x00004444, // ACD_REG_1D
        0x0, //0x1E
        0x00000000, // ACD_REG_1F
        0x00000000, // ACD_REG_20
        0x10000000, // ACD_REG_21 //need check in M2
        0x00000000, // ACD_REG_22
        0x00000000, // ACD_REG_23
        0x00000000, // ACD_REG_24
        0xeafb4e8e, //}, // ACD_REG_25
        0x00000000, //}, // ACD_REG_26
        0x00000000, // ACD_REG_27
        0x00002008, // ACD_REG_28
        0x20800000, // ACD_REG_29
        0x0036e905, // ACD_REG_2A
        0x00001001, // ACD_REG_2B
        0x10e0474f, // ACD_REG_2C
        0x00700340, // ACD_REG_2D
        0x00100100, // ACD_REG_2E
        0x8b286000, // ACD_REG_2F //need check in M2
        0x8b270000, // ACD_REG_30 //need check in M2
        0x0, //0x31
        0x00000000, // ACD_REG_32
    }, // TVIN_SIG_FMT_CVBS_PAL_M,
    {
        0x22333309, // ACD_REG_00
        0x00021111, // ACD_REG_01
        0x8000c110, // ACD_REG_02
        0x08881e28, // ACD_REG_03
        0xe4962858, // ACD_REG_04
        0x00008e19, // ACD_REG_05
        0x00000000, // ACD_REG_06
        0x99664433, // ACD_REG_07
        0x20e000fe, // ACD_REG_08
        0x00000101, // ACD_REG_09
        0x00000000, // ACD_REG_0A
        0x80030518, // ACD_REG_0B
        0x00000000, // ACD_REG_0C
        0x00000000, // ACD_REG_0D
        0x00000000, // ACD_REG_0E
        0x00000000, // ACD_REG_0F
        0x0804603f, // ACD_REG_10
        0x44404020, // ACD_REG_11
        0x18100044, // ACD_REG_12
        0x00282820, // ACD_REG_13
        0x1006844b, // ACD_REG_14
        0x44404018, // ACD_REG_15
        0x44440044, // ACD_REG_16
        0x00008c80, // ACD_REG_17
        0x18008888, // ACD_REG_18
        0x30100c04, // ACD_REG_19
        0x40ff0486, // ACD_REG_1A
        0x04a7208c, // ACD_REG_1B
        0x48484848, // ACD_REG_1C
        0x00004444, // ACD_REG_1D
        0x0, //0x1E
        0x00000000, // ACD_REG_1F
        0x00000000, // ACD_REG_20
        0x10000000, // ACD_REG_21 //need check in M2
        0x00000000, // ACD_REG_22
        0x00000000, // ACD_REG_23
        0x00000000, // ACD_REG_24
        0xeafb4e8e, // ACD_REG_25
        0x00000000, // ACD_REG_26
        0x00000000, // ACD_REG_27
        0x00002108, // ACD_REG_28
        0x20000000, //0x20800000,}, // ACD_REG_29
        0x00375a60, // ACD_REG_2A
        0x00001001, // ACD_REG_2B
        0x10e0474f, // ACD_REG_2C
        0x00840354, // ACD_REG_2D
        0x00150135, // ACD_REG_2E
        0x8b286000, // ACD_REG_2F //need check in M2
        0x8b270000, // ACD_REG_30 //need check in M2
        0x0, //0x31
        0x00000000, // ACD_REG_32
    }, // TVIN_SIG_FMT_CVBS_PAL_60,
    {
        0x22333309, // ACD_REG_00
        0x00021111, // ACD_REG_01
        0x8000c110, // ACD_REG_02
        0x08881e28, // ACD_REG_03
        0xe4962858, // ACD_REG_04
        0x00008e19, // ACD_REG_05
        0x00000000, // ACD_REG_06
        0x99664433, // ACD_REG_07
        0x20e000fe, // ACD_REG_08
        0x00000101, // ACD_REG_09
        0x00000000, // ACD_REG_0A
        0x80030518, // ACD_REG_0B
        0x00000000, // ACD_REG_0C
        0x00000000, // ACD_REG_0D
        0x00000000, // ACD_REG_0E
        0x00000000, // ACD_REG_0F
        0x0804603f, // ACD_REG_10
        0x44404020, // ACD_REG_11
        0x18100044, // ACD_REG_12
        0x00282820, // ACD_REG_13
        0x1006844b, // ACD_REG_14
        0x44404018, // ACD_REG_15
        0x44440044, // ACD_REG_16
        0x00008c80, // ACD_REG_17
        0x18008888, // ACD_REG_18
        0x30100c04, // ACD_REG_19
        0x40ff0486, // ACD_REG_1A
        0x04a7208c, // ACD_REG_1B
        0x48484848, // ACD_REG_1C
        0x00004444, // ACD_REG_1D
        0x0, //0x1E
        0x00000000, // ACD_REG_1F
        0x00000000, // ACD_REG_20
        0x10000000, // ACD_REG_21 //need check in M2
        0x00000000, // ACD_REG_22
        0x00000000, // ACD_REG_23
        0x00000000, // ACD_REG_24
        0xeafb4e8e, //}, // ACD_REG_25
        0x00000000, //}, // ACD_REG_26
        0x00000000, // ACD_REG_27
        0x00002008, // ACD_REG_28
        0x20070000, // ACD_REG_29
        0x003717d9, // ACD_REG_2A
        0x00001001, // ACD_REG_2B
        0x10e0474f, // ACD_REG_2C
        0x00700340, // ACD_REG_2D
        0x00100100, // ACD_REG_2E
        0x8b286000, // ACD_REG_2F //need check in M2
        0x8b270000, // ACD_REG_30 //need check in M2
        0x0,//0x31
        0x00000000, // ACD_REG_32
    }, // TVIN_SIG_FMT_CVBS_PAL_CN,
    {
        0x22333309, // ACD_REG_00
        0x00021111, // ACD_REG_01
        0x8000c110, // ACD_REG_02
        0x08881e28, // ACD_REG_03
        0xe4962858, // ACD_REG_04
        0x00008e19, // ACD_REG_05
        0x00000000, // ACD_REG_06
        0x99664433, // ACD_REG_07
        0x20e000fe, // ACD_REG_08
        0x00000101, // ACD_REG_09
        0x00000000, // ACD_REG_0A
        0x80030518, // ACD_REG_0B
        0x00000000, // ACD_REG_0C
        0x00000000, // ACD_REG_0D
        0x00000000, // ACD_REG_0E
        0x00000000, // ACD_REG_0F
        0x0804603f, // ACD_REG_10
        0x44404020, // ACD_REG_11
        0x18100044, // ACD_REG_12
        0x00282820, // ACD_REG_13
        0x1006844b, // ACD_REG_14
        0x44404018, // ACD_REG_15
        0x44440044, // ACD_REG_16
        0x00008c80, // ACD_REG_17
        0x18008888, // ACD_REG_18
        0x30100c04, // ACD_REG_19
        0x40ff0486, // ACD_REG_1A
        0x04a7208c, // ACD_REG_1B
        0x48484848, // ACD_REG_1C
        0x00004444, // ACD_REG_1D
        0x0, //0x1E
        0x00000000, // ACD_REG_1F
        0x00000000, // ACD_REG_20
        0x10000000, // ACD_REG_21 //need check in M2
        0x00000000, // ACD_REG_22
        0x00000000, // ACD_REG_23
        0x00000000, // ACD_REG_24
        0xeafb4e8e, // ACD_REG_25
        0x00000000, // ACD_REG_26
        0x00000000, // ACD_REG_27
        0x00002108, // ACD_REG_28
        0x20000000, //0x20800000,}, // ACD_REG_29
        0x00375a60, // ACD_REG_2A
        0x00001001, // ACD_REG_2B
        0x10e0474f, // ACD_REG_2C
        0x00840354, // ACD_REG_2D
        0x00150135, // ACD_REG_2E
        0x8b286000, // ACD_REG_2F //need check in M2
        0x8b270000, // ACD_REG_30 //need check in M2
        0x0, //0x31
        0x00000000, // ACD_REG_32
    }, // TVIN_SIG_FMT_CVBS_SECAM,
};


#endif

